public class HibernateEntityManagerStore extends AbstractHibernateStore
AbstractHibernateStore.Builder, AbstractHibernateStore.HibernateTransactionSupplier| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
entityManager |
isScrollEnabled, scrollMode, sessionFactory, transactionSupplier| Constructor and Description |
|---|
HibernateEntityManagerStore(javax.persistence.EntityManager entityManager,
boolean isScrollEnabled,
org.hibernate.ScrollMode scrollMode) |
HibernateEntityManagerStore(org.hibernate.jpa.HibernateEntityManager entityManager,
boolean isScrollEnabled,
org.hibernate.ScrollMode scrollMode)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
DataStoreTransaction |
beginTransaction()
Start Hibernate transaction.
|
org.hibernate.Session |
getSession()
Get current Hibernate session.
|
void |
populateEntityDictionary(EntityDictionary dictionary) |
bindEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeginReadTransaction@Deprecated public HibernateEntityManagerStore(org.hibernate.jpa.HibernateEntityManager entityManager, boolean isScrollEnabled, org.hibernate.ScrollMode scrollMode)
public HibernateEntityManagerStore(javax.persistence.EntityManager entityManager,
boolean isScrollEnabled,
org.hibernate.ScrollMode scrollMode)
public org.hibernate.Session getSession()
getSession in class AbstractHibernateStorepublic DataStoreTransaction beginTransaction()
beginTransaction in interface DataStorebeginTransaction in class AbstractHibernateStorepublic void populateEntityDictionary(EntityDictionary dictionary)
populateEntityDictionary in interface DataStorepopulateEntityDictionary in class AbstractHibernateStoreCopyright © 2015–2019. All rights reserved.