Uses of Package
javax.persistence
Packages that use javax.persistence
-
Classes in javax.persistence used by javax.persistenceClassDescriptionIs used with the
Access
annotation to specify an access type to be applied to an entity class, mapped superclass, or embeddable class, or to a specific attribute of such a class.Interface used to interact with the second-level cache.Used as the value of thejavax.persistence.cache.retrieveMode
property to specify the behavior when data is retrieved by thefind
methods and by queries.Used as the value of thejavax.persistence.cache.storeMode
property to specify the behavior when data is read from the database and when data is committed into the database.Defines the set of cascadable operations that are propagated to the associated entity.Defines supported types of the discriminator column.Interface used to interact with the persistence context.Interface used to interact with the entity manager factory for the persistence unit.Interface used to control transactions on resource-local entity managers.Defines mapping for enumerated types.Defines strategies for fetching data from the database.Flush mode setting.Defines the types of primary key generation strategies.Defines inheritance strategy options.Lock modes can be specified by means of passing aLockModeType
argument to one of theEntityManager
methods that take locks (lock
,find
, orrefresh
) or to theQuery.setLockMode()
orTypedQuery.setLockMode()
method.Type for query parameter objects.Specifies whether a transaction-scoped or extended persistence context is to be used inPersistenceContext
.Thrown by the persistence provider when a problem occurs.Utility interface between the application and the persistence provider managing the persistence unit.Utility interface between the application and the persistence provider(s).Defines the values of thejavax.persistence.lock.scope
property for pessimistic locking.Interface used to control query execution.Specifies how the provider must use a second-level cache for the persistence unit.Type used to indicate a specific mapping ofjava.util.Date
orjava.util.Calendar
.TheTupleElement
interface defines an element that is returned in a query result tuple.Interface used to control the execution of typed queries.The validation mode to be used by the provider for the persistence unit. -
Classes in javax.persistence used by javax.persistence.criteriaClassDescriptionType for query parameter objects.Interface for extracting the elements of a query result tuple.The
TupleElement
interface defines an element that is returned in a query result tuple. -
Classes in javax.persistence used by javax.persistence.spiClassDescriptionInterface used to interact with the entity manager factory for the persistence unit.Specifies how the provider must use a second-level cache for the persistence unit.The validation mode to be used by the provider for the persistence unit.