-
An entity is defined with a composite (multi-property) identifier/key
@Entity(name = "Person") @IdClass(PersonId.class) public static class Person implements Serializable { @Id private String name; @Id private int index; private Integer id; }
"org.hibernate.QueryException: could not resolve property: null ..." in Hibernate
Solution verified - Updated on
Request a new translation or translation update
A translation for your language preference does not exist. Click below to request a translation for your selected language.
Issue
Subscriber Exclusive Content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.