JPA Annotation Attribute
in javax.persistence.PersistenceContext

SynchronizationType synchronization default SynchronizationType.SYNCHRONIZED


(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 EntityManager joinTransaction method.
Since:
JPA 2.1