javax.persistence
Interface EntityManagerFactory
Interface used to interact with the entity manager factory for the persistence unit.
When the application has finished using the entity manager factory, and/or at application shutdown, the application should close the entity manager factory. Once anEntityManagerFactory
has been closed, all its entity managers are considered to be in the closed state.
-
Since:
- JPA 1.0
Learn how to use
EntityManagerFactory in
Chapter 3 of the ObjectDB/JPA manual.
void
close()
EntityManager
createEntityManager(Map map)
Map<String,Object>
getProperties()
boolean
isOpen()