Control and Setting
This section contains miscellaneous JPA types.
The PersistenceUtil
and PersistenceUnitUtil
interfaces provide general utility methods:
- javax.persistence.PersistenceUtil - JPA Interface
- javax.persistence.PersistenceUnitUtil - JPA Interface
The Cache
interface and the CacheRetrieveMode
and CacheStoreMode
enum types serve in managing the EntityManagerFactory's shared (level 2) cache:
- javax.persistence.Cache - JPA Interface
- javax.persistence.CacheRetrieveMode - JPA Enum
- javax.persistence.CacheStoreMode - JPA Enum
- javax.persistence.SharedCacheMode - JPA Enum
Other enum types are provided for setting of various JPA operations: