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