Uses of Enum Class
jakarta.persistence.SynchronizationType
Packages that use SynchronizationType
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of SynchronizationType in jakarta.persistence
Subclasses with type arguments of type SynchronizationType in jakarta.persistenceModifier and TypeClassDescriptionenumSpecifies whether the persistence context associated with anEntityManageris always automatically synchronized with the current transaction.Methods in jakarta.persistence that return SynchronizationTypeModifier and TypeMethodDescriptionstatic SynchronizationTypeReturns the enum constant of this class with the specified name.static SynchronizationType[]SynchronizationType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in jakarta.persistence with parameters of type SynchronizationTypeModifier and TypeMethodDescriptionEntityManagerFactory.createEntityManager(SynchronizationType synchronizationType) Create a new JTA application-managedEntityManagerwith the specified synchronization type.EntityManagerFactory.createEntityManager(SynchronizationType synchronizationType, Map<?, ?> map) Create a new JTA application-managedEntityManagerwith the specified synchronization type and map of properties.