| Package | Description |
|---|---|
| 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.
|
| Class and Description |
|---|
| PersistenceProvider
Interface implemented by the persistence provider.
|
| Class and Description |
|---|
| ClassTransformer
A persistence provider provides an instance of this interface
to the PersistenceUnitInfo.addTransformer method.
|
| PersistenceUnitInfo
Interface implemented by the container and used by the
persistence provider when creating an EntityManagerFactory.
|
| PersistenceUnitTransactionType
This enum class defines whether the entity managers created by the EntityManagerFactory will be
JTA or resource-local entity managers.
|