public class CurrentEntityManagerImpl extends AbstractEntityManagerImpl
AbstractEntityManagerImpl.TupleBuilderTransformer
HibernateEntityManagerImplementor.Options
persistenceContextType, tx
Constructor and Description |
---|
CurrentEntityManagerImpl(EntityManagerFactoryImpl entityManagerFactory,
javax.persistence.spi.PersistenceUnitTransactionType transactionType,
Map properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
|
protected Session |
getRawSession()
Deprecated.
Return a Session (even if the entity manager is closed).
|
Session |
getSession()
Deprecated.
return a Session
|
boolean |
isOpen()
Deprecated.
|
clear, contains, convert, convert, convert, createNamedQuery, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, createQuery, createQuery, createQuery, detach, determineAppropriateLocalCacheMode, find, find, find, find, flush, getCriteriaBuilder, getDelegate, getEntityManagerFactory, getFactory, getFlushMode, getLockMode, getLockRequest, getMetamodel, getProperties, getReference, getTransaction, handlePersistenceException, isTransactionInProgress, joinTransaction, lock, lock, markAsRollback, merge, persist, postInit, refresh, refresh, refresh, refresh, remove, setFlushMode, setProperty, throwPersistenceException, throwPersistenceException, unwrap, wrapLockException, wrapStaleStateException
public CurrentEntityManagerImpl(EntityManagerFactoryImpl entityManagerFactory, javax.persistence.spi.PersistenceUnitTransactionType transactionType, Map properties)
public Session getSession()
AbstractEntityManagerImpl
getSession
in interface HibernateEntityManager
getSession
in class AbstractEntityManagerImpl
protected Session getRawSession()
AbstractEntityManagerImpl
getRawSession
in class AbstractEntityManagerImpl
public void close()
public boolean isOpen()
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved