Example usage for Java javax.persistence EntityManagerFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Close the factory, releasing any resources that it holds. |
EntityManager | createEntityManager() Create a new application-managed EntityManager . |
EntityManager | createEntityManager(Map map) Create a new application-managed EntityManager with the specified Map of properties. |
EntityManager | createEntityManager(SynchronizationType synchronizationType) Create a new JTA application-managed EntityManager with the specified synchronization type. |
EntityManager | createEntityManager(SynchronizationType synchronizationType, Map map) Create a new JTA application-managed EntityManager with the specified synchronization type and map of properties. |
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
Cache | getCache() Access the cache that is associated with the entity manager factory (the "second level cache"). |
Class> | getClass() Returns the runtime class of this Object . |
CriteriaBuilder | getCriteriaBuilder() Return an instance of CriteriaBuilder for the creation of CriteriaQuery objects. |
Metamodel | getMetamodel() Return an instance of Metamodel interface for access to the metamodel of the persistence unit. |
Map | getProperties() Get the properties and associated values that are in effect for the entity manager factory. |
int | hashCode() Returns a hash code value for the object. |
boolean | isOpen() Indicates whether the factory is open. |
String | toString() Returns a string representation of the object. |
T | unwrap(Class Return an object of the specified type to allow access to the provider-specific API. |