The EntityManagerFactory interface is used
by the application to obtain an application-managed entity
manager. When the application has finished using the entity
manager factory, and/or at application shutdown, the
application should close the entity manager factory.
Once an EntityManagerFactory has been closed, all its entity
managers are considered to be in the closed state.
EntityManagerFactoryinterface is used by the application to obtain an application-managed entity manager. When the application has finished using the entity manager factory, and/or at application shutdown, the application should close the entity manager factory. Once anEntityManagerFactoryhas been closed, all its entity managers are considered to be in the closed state.