Enterprise Java Development@TOPIC@
javax.persistence.EntityTransaction getTransaction();
Returns transaction object for inspection and control
Invalid call for transaction-scoped persistence contexts
void joinTransaction();
Associate a persistence context with a JTA transaction
<T> T unwrap(Class<T> clazz);
Return object of specified type
Provides access to underlying implementation classes
javax.persistence.metamodel.Metamodel getMetamodel();
Returns metamodel object for persistence context
javax.persistence.EntityManagerFactory getEntityManagerFactory();
Returns EntityManagerFactory associated with EntityManager