public class CurrentEntityManagerImpl extends AbstractEntityManagerImpl
AbstractEntityManagerImpl.TupleBuilderTransformerHibernateEntityManagerImplementor.OptionspersistenceContextType, 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, wrapStaleStateExceptionpublic CurrentEntityManagerImpl(EntityManagerFactoryImpl entityManagerFactory, javax.persistence.spi.PersistenceUnitTransactionType transactionType, Map properties)
public Session getSession()
AbstractEntityManagerImplgetSession in interface HibernateEntityManagergetSession in class AbstractEntityManagerImplprotected Session getRawSession()
AbstractEntityManagerImplgetRawSession in class AbstractEntityManagerImplpublic void close()
public boolean isOpen()
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved