Uses of Package
javax.persistence

Packages that use javax.persistence
javax.persistence The javax.persistence package contains the classes and interfaces that define the contracts between a persistence provider and the managed classes and the clients of the Java Persistence API. 
javax.persistence.spi The javax.persistence.spi package defines the classes and interfaces that are implemented by the persistence provider and the Java EE container for use by the container, provider, and/or Persistence bootstrap class in deployment and bootstrapping. 
 

Classes in javax.persistence used by javax.persistence
CascadeType
          Defines the set of cascadable operations that are propagated to the associated entity.
DiscriminatorType
          Defines supported types of the discriminator column.
EntityManager
          Interface used to interact with the persistence context.
EntityManagerFactory
          The EntityManagerFactory interface is used by the application to obtain an application-managed entity manager.
EntityTransaction
          The EntityTransaction interface is used to control resource transactions on resource-local entity managers.
EnumType
          Defines mapping for the enumerated types.
FetchType
          Defines strategies for fetching data from the database.
FlushModeType
          Flush mode setting.
GenerationType
          Defines the types of primary key generation.
InheritanceType
          Defines inheritance strategy options.
LockModeType
          Lock modes that can be specified by means of the EntityManager.lock() method.
PersistenceContextType
          Specifies whether a transaction-scoped or extended persistence context is to be used in PersistenceContext.
PersistenceException
          Thrown by the persistence provider when a problem occurs.
Query
          Interface used to control query execution.
TemporalType
          Type used to indicate a specific mapping of Date or Calendar.
 

Classes in javax.persistence used by javax.persistence.spi
EntityManagerFactory
          The EntityManagerFactory interface is used by the application to obtain an application-managed entity manager.