Uses of Class
javax.persistence.SynchronizationType
-
Packages that use SynchronizationType Package Description javax.persistence -
-
Uses of SynchronizationType in javax.persistence
Methods in javax.persistence that return SynchronizationType Modifier and Type Method Description SynchronizationTypesynchronization()(Optional) Specifies whether the persistence context is always automatically synchronized with the current JTA transaction or whether the persistence context must be explicitly joined to the current JTA transaction by means of the EntityManager joinTransaction methodstatic SynchronizationTypeSynchronizationType. valueOf(java.lang.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.Methods in javax.persistence with parameters of type SynchronizationType Modifier and Type Method Description EntityManagerEntityManagerFactory. createEntityManager(SynchronizationType synchronizationType)Create a new JTA application-managed EntityManager with the specified synchronization type.EntityManagerEntityManagerFactory. createEntityManager(SynchronizationType synchronizationType, java.util.Map map)Create a new JTA application-managed EntityManager with the specified synchronization type and Map of properties.
-