About persistence unit

131-140 of 200Refresh
JPA Doc
12

getPersistenceUtil()

Static Method javax.persistence.Persistence PersistenceUtil getPersistenceUtil() Return the PersistenceUtil instance Returns: PersistenceUtil instance Since: JPA 2.0
JPA Doc
12

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
12

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
12

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
12

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
12

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
12

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
12

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
12

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
12

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