Home » Search

About IdClass

1-10 of 17Refresh
JPA Doc
105

javax.persistence.IdClass

javax.persistence Annotation IdClass Target: Classes Specifies a composite primary key class that is mapped to multiple fields or properties of the entity. The names of the fields or properties in ... and their types must be the same. Example: @IdClass(com.acme.EmployeePK.class) @Entity public
JPA Doc
102

IdClass.value

Annotation Element javax.persistence.IdClass Class value Primary key class Since: JPA 1.0
Manual
89

JPA Primary Key

, the primary key of the following Project entity class consists of two fields: @Entity @IdClass ... that is attached to the entity class using the @IdClass annotation. The ID class reflects the primary key
JPA Doc
52

JPA Annotations for Classes

Reference (JavaDoc) of JPA 2 class annotations, including @Entity, @Embeddable, @IdClass, @Cacheable, @EntityListeners, etc.
Result
25

Posting to ObjectDB Website - Important Instructions

contain a persistence unit, An entity or IdClass class should implement the java.io.Serializable interface).
JPA Doc
7

hasSingleIdAttribute()

Method javax.persistence.metamodel.IdentifiableType boolean hasSingleIdAttribute() Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns: boolean indicating whether the identifiable type has a single id attribute Since: JPA 2.0
JPA Doc
7

javax.persistence.MapKey

and is mapped as IdClass, an instance of the primary key class is used as the key. Default value: "" Since: JPA 1.0
JPA Doc
7

javax.persistence.metamodel.EntityType

attribute. Returns true for a simple id or embedded id; returns false for an idclass. Returns: boolean
JPA Doc
7

javax.persistence.metamodel.IdentifiableType

. Returns true for a simple id or embedded id; returns false for an idclass. Returns: boolean
JPA Doc
7

javax.persistence.metamodel.MappedSuperclassType

or embedded id; returns false for an idclass. Returns: boolean indicating whether the identifiable