About persistence

111-120 of 200Refresh
JPA Doc
61

javax.persistence.Cacheable

javax.persistence Annotation Cacheable Target: Classes Specifies whether an entity should be cached if caching is enabled when the value of the persistence.xml caching element is ENABLE_SELECTIVE or DISABLE_SELECTIVE. The value of the Cacheable annotation is inherited by subclasses
JPA Doc
61

javax.persistence.DiscriminatorColumn

javax.persistence Annotation DiscriminatorColumn Target: Classes Specifies the discriminator column for the SINGLE_TABLE and JOINED Inheritance mapping strategies. The strategy and the discriminator ... to DiscriminatorType.STRING. Default value: javax.persistence.DiscriminatorType.STRING Since: JPA 1.0 int length
JPA Doc
61

javax.persistence.Embedded

javax.persistence Annotation Embedded Target: Fields (including property get methods) Specifies a persistent field or property of an entity whose value is an instance of an embeddable class. The embeddable class must be annotated as Embeddable. The AttributeOverride, AttributeOverrides
JPA Doc
61

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
61

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
61

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
61

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
61

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
61

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
61

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