close() - JPA EntityManagerFactory's method
Method javax.persistence.EntityManagerFactory
void close()
IllegalStateException
, except for isOpen
, which will return false. Once an EntityManagerFactory
has been closed, all its entity managers are considered to be in the closed state. - Throws:
-
IllegalStateException
- if the entity manager factory has been closed
- Since:
- JPA 1.0