Enterprise Java Development@TOPIC@

Chapter 44. Other Entity Manager Methods

44.1. isOpen()
44.2. close()
44.3. getTransaction()
44.4. joinTransaction()
44.5. unwrap()
44.6. getDelegate()
44.7. getMetaModel()
44.8. getEntityManagerFactory()
44.9. setProperties()/getProperties()


boolean isOpen();
        


void close();
        


javax.persistence.EntityTransaction getTransaction();
        


void joinTransaction();
        


<T> T unwrap(Class<T> clazz);
        


Object getDelegate();
        


javax.persistence.metamodel.Metamodel getMetamodel();
        


javax.persistence.EntityManagerFactory getEntityManagerFactory();
        


void setProperty(String key, Object value);
java.util.Map getProperties();