public interface EntityManagerFactory
Modifier and Type | Method and Description |
---|---|
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<java.lang.String,java.lang.Object> |
getProperties()
Returns the properties and values for the factory
|
boolean |
isOpen()
Returns true if the factory is open.
|
EntityManager createEntityManager()
EntityManager createEntityManager(java.util.Map map)
CriteriaBuilder getCriteriaBuilder()
Metamodel getMetamodel()
boolean isOpen()
void close()
java.util.Map<java.lang.String,java.lang.Object> getProperties()
Cache getCache()
PersistenceUnitUtil getPersistenceUnitUtil()