Package org.nuxeo.ecm.core.persistence
Class HibernateConfiguration
java.lang.Object
org.nuxeo.ecm.core.persistence.HibernateConfiguration
- All Implemented Interfaces:
EntityManagerFactoryProvider
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
HibernateJtaPlatform
that uses our framework. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.persistence.EntityManagerFactory
javax.persistence.EntityManagerFactory
getFactory
(String txType) static String
static HibernateConfiguration
void
merge
(HibernateConfiguration other) void
setDatasource
(String name)
-
Field Details
-
RESOURCE_LOCAL
-
JTA
-
TXTYPE_PROPERTY_NAME
- See Also:
-
name
-
hibernateProperties
-
-
Constructor Details
-
HibernateConfiguration
public HibernateConfiguration()
-
-
Method Details
-
setDatasource
-
getFactory
- Specified by:
getFactory
in interfaceEntityManagerFactoryProvider
-
getFactory
public javax.persistence.EntityManagerFactory getFactory()- Specified by:
getFactory
in interfaceEntityManagerFactoryProvider
-
getTxType
-
load
-
merge
-