I solved this issue. I mapped Getter instead of field.
public class StudentTClass {
//@EmbeddedId
private StudentTClassPK pk = new StudentTClassPK();
@EmbeddedId
public StudentTClassPK getPk() {
return pk;
}
I solved this issue. I mapped Getter instead of field.
public class StudentTClass {
//@EmbeddedId
private StudentTClassPK pk = new StudentTClassPK();
@EmbeddedId
public StudentTClassPK getPk() {
return pk;
}