About persistence

111-120 of 200Refresh
JPA Doc
24

javax.persistence.EmbeddedId

javax.persistence Annotation EmbeddedId Target: Fields (including property get methods) Applied to a persistent field or property of an entity class or mapped superclass to denote a composite primary key that is an embeddable class. The embeddable class must be annotated as Embeddable
JPA Doc
24

javax.persistence.Entity

javax.persistence Annotation Entity Target: Classes Specifies that the class is an entity. This annotation is applied to the entity class. Since: JPA 1.0 Learn how to define and use entity classes in ... to the entity in queries. The name must not be a reserved literal in the Java Persistence query language. Default value: "" Since: JPA 1.0
JPA Doc
24

javax.persistence.Inheritance

javax.persistence Annotation Inheritance Target: Classes Defines the inheritance strategy to be used for an entity class hierarchy. It is specified on the entity class that is the root of the entity ... . Default value: javax.persistence.InheritanceType.SINGLE_TABLE Since: JPA 1.0
JPA Doc
24

javax.persistence.MapKeyEnumerated

javax.persistence Annotation MapKeyEnumerated Target: Fields (including property get methods) Specifies the enum type for a map key whose basic type is an enumerated type. The MapKeyEnumerated ... type. (Optional) The type used in mapping a map key enum type. Default value: javax.persistence.EnumType.ORDINAL Since: JPA 2.0
JPA Doc
24

javax.persistence.MapKeyTemporal

javax.persistence Annotation MapKeyTemporal Target: Fields (including property get methods) This annotation must be specified for persistent map keys of type java.util.Date and java.util.Calendar. It may only be specified for map keys of these types. The MapKeyTemporal annotation can be applied
JPA Doc
24

javax.persistence.NamedNativeQueries

javax.persistence Annotation NamedNativeQueries Target: Classes Used to specify multiple native SQL named queries. Query names are scoped to the persistence unit. The NamedNativeQueries annotation can be applied to an entity or mapped superclass. Since: JPA 1.0 See Also: NamedNativeQuery
JPA Doc
24

javax.persistence.NamedNativeQuery

javax.persistence Annotation NamedNativeQuery Target: Classes Specifies a named native SQL query. Query names are scoped to the persistence unit. The NamedNativeQuery annotation can be applied to an entity or mapped superclass. Since: JPA 1.0 QueryHint[] hints Query properties and hints. Query
JPA Doc
24

javax.persistence.OrderBy

javax.persistence Annotation OrderBy Target: Fields (including property get methods) Specifies the ordering of the elements of a collection valued association or element collection at the point ... of the associated entity is assumed. The property or field name must correspond to that of a persistent
JPA Doc
24

javax.persistence.PersistenceContexts

javax.persistence Annotation PersistenceContexts Target: Classes Declares one or more PersistenceContext annotations. It is used to express a dependency on container-managed entity manager persistence contexts. Since: JPA 1.0 See Also: PersistenceContext PersistenceContext[] value (Required) One or
JPA Doc
24

javax.persistence.SecondaryTable

javax.persistence Annotation SecondaryTable Target: Classes Specifies a secondary table for the annotated entity class. Specifying one or more secondary tables indicates that the data for the entity ... that all persistent fields or properties of the entity are mapped to the primary table