By: websystique

Hi Venkat,

Are you using the same code as shown in this post, specially, the id property of Student class? In the post code, id is referring to STUDENT_ID which is a column in STUDENT table in database. There is no ID column in STUDENT table in database. From the error it seems that hibernate is trying to find a property id on STUDENT.

@Id
@GeneratedValue
@Column(name = “STUDENT_ID”)
private long id;