Package | Description |
---|---|
javax.persistence | |
org.hibernate.ejb | |
org.hibernate.jpa.internal | |
org.hibernate.jpa.spi |
Modifier and Type | Method and Description |
---|---|
static SynchronizationType |
SynchronizationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SynchronizationType[] |
SynchronizationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
EntityManager |
EntityManagerFactory.createEntityManager(SynchronizationType synchronizationType)
Create a new JTA application-managed EntityManager with the specified synchronization type.
|
EntityManager |
EntityManagerFactory.createEntityManager(SynchronizationType synchronizationType,
Map map)
Create a new JTA application-managed EntityManager with the specified synchronization type and Map of properties.
|
Constructor and Description |
---|
AbstractEntityManagerImpl(EntityManagerFactoryImpl entityManagerFactory,
PersistenceContextType type,
SynchronizationType synchronizationType,
PersistenceUnitTransactionType transactionType,
Map properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
EntityManager |
EntityManagerFactoryImpl.createEntityManager(SynchronizationType synchronizationType) |
EntityManager |
EntityManagerFactoryImpl.createEntityManager(SynchronizationType synchronizationType,
Map map) |
Constructor and Description |
---|
EntityManagerImpl(EntityManagerFactoryImpl entityManagerFactory,
PersistenceContextType pcType,
SynchronizationType synchronizationType,
PersistenceUnitTransactionType transactionType,
boolean discardOnClose,
Class sessionInterceptorClass,
Map properties) |
Modifier and Type | Method and Description |
---|---|
SynchronizationType |
AbstractEntityManagerImpl.getSynchronizationType() |
Constructor and Description |
---|
AbstractEntityManagerImpl(EntityManagerFactoryImpl entityManagerFactory,
PersistenceContextType type,
SynchronizationType synchronizationType,
PersistenceUnitTransactionType transactionType,
Map properties) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.