About example

191-200 of 200Refresh
JPA Doc
1

javax.persistence.MapKeyTemporal

with the ElementCollection, OneToMany, or ManyToMany annotation. Example: @OneToMany @MapKeyTemporal(DATE
JPA Doc
1

javax.persistence.MappedSuperclass

the AttributeOverride and AssociationOverride annotations or corresponding XML elements. Example
JPA Doc
1

javax.persistence.MapsId

referenced by the relationship, the value attribute is not specified. Example: // parent entity
JPA Doc
1

javax.persistence.OrderColumn

. Example: @Entity public class CreditCard { @Id long ccNumber; @OneToMany
JPA Doc
1

javax.persistence.PrimaryKeyJoinColumn

to have the same names as the primary key columns of the primary table of the superclass. Example
JPA Doc
1

javax.persistence.PrimaryKeyJoinColumns

javax.persistence Annotation PrimaryKeyJoinColumns Target: Classes and fields (including property get methods) Groups PrimaryKeyJoinColumn annotations. It is used to map composite foreign keys. Example: ValuedCustomer subclass @Entity @Table(name="VCUST") @DiscriminatorValue("VCUST
JPA Doc
1

javax.persistence.SequenceGenerator

to the persistence unit (across all generator types). Example: @SequenceGenerator(name="EMP_SEQ
JPA Doc
1

javax.persistence.SqlResultSetMapping

javax.persistence Annotation SqlResultSetMapping Target: Classes Specifies the mapping of the result of a native SQL query. Example: Query q = em.createNativeQuery( "SELECT o.id AS order_id, " + "o.quantity AS order_quantity, " + "o.item AS order_item
JPA Doc
1

javax.persistence.Table

javax.persistence Annotation Table Target: Classes Specifies the primary table for the annotated entity. Additional tables may be specified using SecondaryTable or SecondaryTables annotation. If no Table annotation is specified for an entity class, the default values apply. Example: @Entity
JPA Doc
1

javax.persistence.Temporal

annotation (when the element collection value is of such a temporal type. Example: @Temporal(DATE