Uses of Package
javax.persistence

Packages that use javax.persistence
  • Class
    Description
    Is 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 the javax.persistence.cache.retrieveMode property to specify the behavior when data is retrieved by the find methods and by queries.
    Used as the value of the javax.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 a LockModeType argument to one of the EntityManager methods that take locks (lock, find, or refresh) or to the Query.setLockMode() or TypedQuery.setLockMode() method.
    Type for query parameter objects.
    Specifies whether a transaction-scoped or extended persistence context is to be used in PersistenceContext.
    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 the javax.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 of java.util.Date or java.util.Calendar.
    The TupleElement 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.
  • Class
    Description
    Type 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.
  • Class
    Description
    Interface 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.