Package | Description |
---|---|
javax.persistence |
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.
|
Copyright © 2016. All rights reserved.