public interface OpenJPAEntityManagerFactory extends javax.persistence.EntityManagerFactory, Serializable
| Modifier and Type | Field and Description | 
|---|---|
| static int | CONN_RETAIN_ALWAYSDeprecated. 
 use  ConnectionRetainModeenums instead. | 
| static int | CONN_RETAIN_DEMANDDeprecated. 
 use  ConnectionRetainModeenums instead. | 
| static int | CONN_RETAIN_TRANSDeprecated. 
 use  ConnectionRetainModeenums instead. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addLifecycleListener(Object listener,
                    Class... classes)Deprecated. 
 cast to  OpenJPAEntityManagerFactorySPIinstead. This
 method pierces the published-API boundary, as does the SPI cast. | 
| void | addTransactionListener(Object listener)Deprecated. 
 cast to  OpenJPAEntityManagerFactorySPIinstead. This
 method pierces the published-API boundary, as does the SPI cast. | 
| OpenJPAEntityManager | createEntityManager() | 
| OpenJPAEntityManager | createEntityManager(Map props)Return an entity manager with the provided additional configuration
 settings. | 
| OpenJPAConfiguration | getConfiguration()Deprecated. 
 cast to  OpenJPAEntityManagerFactorySPIinstead. This
 method pierces the published-API boundary, as does the SPI cast. | 
| OpenJPACriteriaBuilder | getCriteriaBuilder()Gets the QueryBuilder with OpenJPA-extended capabilities. | 
| QueryBuilder | getDynamicQueryBuilder()Gets a builder for dynamic queries. | 
| Map<String,Object> | getProperties()Return properties describing this runtime. | 
| QueryResultCache | getQueryResultCache()Access query result cache. | 
| StoreCache | getStoreCache()Access the level 2 store cache. | 
| StoreCache | getStoreCache(String name)Access a named level 2 store cache. | 
| Set<String> | getSupportedProperties()Get the properties supported by this runtime. | 
| Object | getUserObject(Object key)Get the value for the specified key from the map of user objects. | 
| Object | putUserObject(Object key,
             Object val)Put the specified key-value pair into the map of user objects. | 
| void | removeLifecycleListener(Object listener)Deprecated. 
 cast to  OpenJPAEntityManagerFactorySPIinstead. This
 method pierces the published-API boundary, as does the SPI cast. | 
| void | removeTransactionListener(Object listener)Deprecated. 
 cast to  OpenJPAEntityManagerFactorySPIinstead. This
 method pierces the published-API boundary, as does the SPI cast. | 
static final int CONN_RETAIN_DEMAND
ConnectionRetainMode enums instead.static final int CONN_RETAIN_TRANS
ConnectionRetainMode enums instead.static final int CONN_RETAIN_ALWAYS
ConnectionRetainMode enums instead.Map<String,Object> getProperties()
getProperties in interface javax.persistence.EntityManagerFactoryObject putUserObject(Object key, Object val)
Object getUserObject(Object key)
StoreCache getStoreCache()
StoreCache getStoreCache(String name)
QueryResultCache getQueryResultCache()
OpenJPAEntityManager createEntityManager()
createEntityManager in interface javax.persistence.EntityManagerFactoryOpenJPAEntityManager createEntityManager(Map props)
createEntityManager in interface javax.persistence.EntityManagerFactoryOpenJPAConfiguration getConfiguration()
OpenJPAEntityManagerFactorySPI instead. This
 method pierces the published-API boundary, as does the SPI cast.void addLifecycleListener(Object listener, Class... classes)
OpenJPAEntityManagerFactorySPI instead. This
 method pierces the published-API boundary, as does the SPI cast.void removeLifecycleListener(Object listener)
OpenJPAEntityManagerFactorySPI instead. This
 method pierces the published-API boundary, as does the SPI cast.void addTransactionListener(Object listener)
OpenJPAEntityManagerFactorySPI instead. This
 method pierces the published-API boundary, as does the SPI cast.void removeTransactionListener(Object listener)
OpenJPAEntityManagerFactorySPI instead. This
 method pierces the published-API boundary, as does the SPI cast.QueryBuilder getDynamicQueryBuilder()
OpenJPACriteriaBuilder getCriteriaBuilder()
getCriteriaBuilder in interface javax.persistence.EntityManagerFactoryCopyright © 2006–2018 Apache Software Foundation. All rights reserved.