Package org.hibernate.jpa
Interface HibernateEntityManager
-
- All Superinterfaces:
EntityManager
,QueryProducer
- All Known Subinterfaces:
EventSource
,HibernateEntityManager
,HibernateEntityManagerImplementor
,Session
,SessionImplementor
- All Known Implementing Classes:
SessionDelegatorBaseImpl
@Deprecated public interface HibernateEntityManager extends EntityManager, QueryProducer
Deprecated.(snce 5.2) Use Session (or SessionImplementor), as it now extends EntityManager directlyAdditional contract for Hibernate implementations ofEntityManager
providing access to various Hibernate specific functionality.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Session
getSession()
Deprecated.Retrieve a reference to the HibernateSession
used by thisEntityManager
.-
Methods inherited from interface javax.persistence.EntityManager
clear, close, contains, createEntityGraph, createEntityGraph, createNamedQuery, createNamedQuery, createNamedStoredProcedureQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, createQuery, createQuery, createQuery, createQuery, createStoredProcedureQuery, createStoredProcedureQuery, createStoredProcedureQuery, detach, find, find, find, find, flush, getCriteriaBuilder, getDelegate, getEntityGraph, getEntityGraphs, getEntityManagerFactory, getFlushMode, getLockMode, getMetamodel, getProperties, getReference, getTransaction, isJoinedToTransaction, isOpen, joinTransaction, lock, lock, merge, persist, refresh, refresh, refresh, refresh, remove, setFlushMode, setProperty, unwrap
-
Methods inherited from interface org.hibernate.query.QueryProducer
createNamedQuery, createNamedQuery, createNativeQuery, createNativeQuery, createNativeQuery, createQuery, createQuery, createSQLQuery, getNamedNativeQuery, getNamedQuery, getNamedSQLQuery
-
-
-
-
Method Detail
-
getSession
Session getSession()
Deprecated.Retrieve a reference to the HibernateSession
used by thisEntityManager
.- Returns:
- The session
-
-