getMetamodel() - JPA EntityManager's method
Method javax.persistence.EntityManager
Metamodel getMetamodel()
Metamodel
interface for access to the metamodel of the persistence unit. - Returns:
- Metamodel instance
- Throws:
-
IllegalStateException
- if the entity manager has been closed
- Since:
- JPA 2.0