Uses of Class
jakarta.persistence.SynchronizationType
-
Packages that use SynchronizationType Package Description jakarta.persistence Jakarta Persistence is the API for the management for persistence and object/relational mapping. -
-
Uses of SynchronizationType in jakarta.persistence
Methods in jakarta.persistence that return SynchronizationType Modifier and Type Method Description SynchronizationType
synchronization()
(Optional) Specifies whether the persistence context is always automatically synchronized with the current transaction or whether the persistence context must be explicitly joined to the current transaction by means of the EntityManagerjoinTransaction
method.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.Methods in jakarta.persistence with parameters of type SynchronizationType Modifier and Type Method Description EntityManager
EntityManagerFactory. createEntityManager(SynchronizationType synchronizationType)
Create a new JTA application-managedEntityManager
with the specified synchronization type.EntityManager
EntityManagerFactory. createEntityManager(SynchronizationType synchronizationType, Map map)
Create a new JTA application-managedEntityManager
with the specified synchronization type and map of properties.
-