|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.ejb.HibernatePersistence
public class HibernatePersistence
Hibernate EJB3 persistence provider implementation
| Field Summary | |
|---|---|
static String |
AUTODETECTION
PAR autodetection artifacts class, hbm |
static String |
CFG_FILE
cfg.xml configuration file used |
static String |
CLASS_CACHE_PREFIX
Caching configuration should follow the following pattern hibernate.ejb.classcache. |
static String |
CLASS_NAMES
List of classes names Don't use it |
static String |
COLLECTION_CACHE_PREFIX
Caching configuration should follow the following pattern hibernate.ejb.collectioncache. |
static String |
EVENT_LISTENER_PREFIX
Event configuration should follow the following pattern hibernate.ejb.event. |
static String |
HBXML_FILES
link to the alternative Hibernate configuration file Internal use only |
static String |
INTERCEPTOR
Interceptor class name, the class has to have a no-arg constructor |
static String |
JACC_CONTEXT_ID
|
static String |
JACC_ENABLED
|
static String |
JACC_PREFIX
|
static String |
JTA_DATASOURCE
JTA datasource name |
static String |
LOADED_CLASSES
|
static String |
NAMING_STRATEGY
Naming strategy class name, the class has to have a no-arg constructor |
static String |
NON_JTA_DATASOURCE
Non JTA datasource name |
static String |
PACKAGE_NAMES
List of annotated packages Internal use only |
static String |
PROVIDER
Provider |
static String |
TRANSACTION_TYPE
transaction type |
static String |
USE_CLASS_ENHANCER
Enable the class file enhancement |
| Constructor Summary | |
|---|---|
HibernatePersistence()
|
|
| Method Summary | |
|---|---|
javax.persistence.EntityManagerFactory |
createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo info)
|
javax.persistence.EntityManagerFactory |
createEntityManagerFactory(Map properties)
create a factory from a canonical version |
javax.persistence.EntityManagerFactory |
createEntityManagerFactory(String persistenceUnitName,
Map overridenProperties)
Get an entity manager factory by its entity manager name and given the appropriate extra properties. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROVIDER
public static final String TRANSACTION_TYPE
public static final String JTA_DATASOURCE
public static final String NON_JTA_DATASOURCE
public static final String AUTODETECTION
public static final String CLASS_NAMES
public static final String PACKAGE_NAMES
public static final String CFG_FILE
public static final String CLASS_CACHE_PREFIX
public static final String COLLECTION_CACHE_PREFIX
public static final String INTERCEPTOR
public static final String NAMING_STRATEGY
public static final String EVENT_LISTENER_PREFIX
public static final String USE_CLASS_ENHANCER
public static final String HBXML_FILES
public static final String LOADED_CLASSES
public static final String JACC_CONTEXT_ID
public static final String JACC_PREFIX
public static final String JACC_ENABLED
| Constructor Detail |
|---|
public HibernatePersistence()
| Method Detail |
|---|
public javax.persistence.EntityManagerFactory createEntityManagerFactory(String persistenceUnitName,
Map overridenProperties)
createEntityManagerFactory in interface javax.persistence.spi.PersistenceProviderpersistenceUnitName - entity manager nameoverridenProperties - properties passed to the persistence provider
public javax.persistence.EntityManagerFactory createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo info)
createContainerEntityManagerFactory in interface javax.persistence.spi.PersistenceProviderpublic javax.persistence.EntityManagerFactory createEntityManagerFactory(Map properties)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||