|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.ejb.AbstractEntityManagerImpl
org.hibernate.ejb.CurrentEntityManagerImpl
public class CurrentEntityManagerImpl
Field Summary |
---|
Fields inherited from class org.hibernate.ejb.AbstractEntityManagerImpl |
---|
persistenceContextType, tx |
Constructor Summary | |
---|---|
CurrentEntityManagerImpl(org.hibernate.SessionFactory sessionFactory,
javax.persistence.spi.PersistenceUnitTransactionType transactionType,
java.util.Map properties)
Deprecated. |
Method Summary | |
---|---|
void |
close()
Deprecated. |
protected org.hibernate.Session |
getRawSession()
Deprecated. Return a Session (even if the entity manager is closed |
org.hibernate.Session |
getSession()
Deprecated. return a Session |
boolean |
isOpen()
Deprecated. |
Methods inherited from class org.hibernate.ejb.AbstractEntityManagerImpl |
---|
clear, contains, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, find, flush, getDelegate, getFlushMode, getReference, getTransaction, isTransactionInProgress, joinTransaction, lock, markAsRollback, merge, persist, postInit, refresh, remove, setFlushMode, throwPersistenceException, throwPersistenceException, wrapStaleStateException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurrentEntityManagerImpl(org.hibernate.SessionFactory sessionFactory, javax.persistence.spi.PersistenceUnitTransactionType transactionType, java.util.Map properties)
Method Detail |
---|
public org.hibernate.Session getSession()
AbstractEntityManagerImpl
getSession
in interface HibernateEntityManager
getSession
in class AbstractEntityManagerImpl
protected org.hibernate.Session getRawSession()
AbstractEntityManagerImpl
getRawSession
in class AbstractEntityManagerImpl
public void close()
public boolean isOpen()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |