metamodel « Composite « JPA Q&A





1. JPA 2.0 metamodel and composite ids    forum.hibernate.org

I have a class: Code: @Entity @IdClass(BadPojo.PK.class) public class BadPojo implements Serializable { @Id int id1; @Id int id2; String value; public class PK implements Serializable { int id1; ...