- createEntityManager
Create a new JTA application-managed EntityManager with the specified
synchronization type and map o
- close
Close the factory, releasing any resources that it holds. After a factory
instance has been closed,
- isOpen
Indicates whether the factory is open. Returns true until the factory has been
closed.
- getMetamodel
Return an instance of Metamodel interface for access to the metamodel of the
persistence unit.
- getCache
Access the cache that is associated with the entity manager factory (the "second
level cache").
- getPersistenceUnitUtil
Return interface providing access to utility methods for the persistence unit.
- getProperties
Get the properties and associated values that are in effect for the entity
manager factory. Changing
- unwrap
Return an object of the specified type to allow access to the provider-specific
API. If the provider
- getCriteriaBuilder
Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects.
- addNamedQuery
Define the query, typed query, or stored procedure query as a named query such
that future query obj