|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.env.jpa.EntityManagerFactoryProxy
public class EntityManagerFactoryProxy
The @PersistenceUnit, container managed entity manager proxy, used for third-party providers.
| Nested Class Summary | |
|---|---|
static class |
EntityManagerFactoryProxy.Handle
|
| Constructor Summary | |
|---|---|
EntityManagerFactoryProxy(PersistenceUnitManager persistenceUnit)
|
|
| Method Summary | |
|---|---|
void |
close()
Close the factory an any resources. |
EntityManager |
createEntityManager()
Create a new EntityManager with TRANSACTION type. |
EntityManager |
createEntityManager(java.util.Map map)
Create a new EntityManager with the given properties. |
Cache |
getCache()
Returns the entity manager cache |
CriteriaBuilder |
getCriteriaBuilder()
|
Metamodel |
getMetamodel()
|
PersistenceUnitUtil |
getPersistenceUnitUtil()
Returns persistence unit utilities. |
java.util.Map |
getProperties()
Returns the properties and values for the factory |
boolean |
isOpen()
Returns true if the factory is open. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EntityManagerFactoryProxy(PersistenceUnitManager persistenceUnit)
| Method Detail |
|---|
public EntityManager createEntityManager()
createEntityManager in interface EntityManagerFactorypublic EntityManager createEntityManager(java.util.Map map)
createEntityManager in interface EntityManagerFactorypublic void close()
close in interface EntityManagerFactorypublic boolean isOpen()
isOpen in interface EntityManagerFactorypublic java.util.Map getProperties()
EntityManagerFactory
getProperties in interface EntityManagerFactorypublic Cache getCache()
EntityManagerFactory
getCache in interface EntityManagerFactorypublic CriteriaBuilder getCriteriaBuilder()
getCriteriaBuilder in interface EntityManagerFactorypublic Metamodel getMetamodel()
getMetamodel in interface EntityManagerFactorypublic PersistenceUnitUtil getPersistenceUnitUtil()
EntityManagerFactory
getPersistenceUnitUtil in interface EntityManagerFactorypublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||