public class EntityManagerSessionFactory extends Object implements SessionFactory
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
closeEntityManager |
protected javax.persistence.EntityManagerFactory |
entityManagerFactory |
protected boolean |
handleTransactions |
| Constructor and Description |
|---|
EntityManagerSessionFactory(Object entityManagerFactory,
boolean handleTransactions,
boolean closeEntityManager) |
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.EntityManagerFactory |
getEntityManagerFactory() |
Class<?> |
getSessionType() |
Session |
openSession() |
protected javax.persistence.EntityManagerFactory entityManagerFactory
protected boolean handleTransactions
protected boolean closeEntityManager
public EntityManagerSessionFactory(Object entityManagerFactory, boolean handleTransactions, boolean closeEntityManager)
public Class<?> getSessionType()
getSessionType in interface SessionFactorypublic Session openSession()
openSession in interface SessionFactorypublic javax.persistence.EntityManagerFactory getEntityManagerFactory()
Copyright © 2016 Alfresco. All rights reserved.