com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column

前端 未结 1 1032
清歌不尽
清歌不尽 2021-01-26 15:18

I have two table Student and Address.I am using hibernate 3 annotation for here.

My Student class

package net.viralpatel.contact.form;

import javax.pe         


        
相关标签:
1条回答
  • 2021-01-26 16:14

    How does your address class look like? It seems from the error that your address object is not having an address_id field. Check your database if it contains an address_id.

    0 讨论(0)
提交回复
热议问题