EntityManager#joinTransaction() method.
| Modifier and Type | Field and Description |
|---|---|
| public static final SynchronizationType | SYNCHRONIZED
Persistence context is automatically synchronized with the current transaction |
| public static final SynchronizationType | UNSYNCHRONIZED
Persistence context must be explicitly joined to the current transaction |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SynchronizationType | |
| public static SynchronizationType[] |
| SYNCHRONIZED | back to summary |
|---|---|
| public static final SynchronizationType SYNCHRONIZED Persistence context is automatically synchronized with the current transaction | |
| UNSYNCHRONIZED | back to summary |
|---|---|
| public static final SynchronizationType UNSYNCHRONIZED Persistence context must be explicitly joined to the current transaction | |
| SynchronizationType | back to summary |
|---|---|
| private SynchronizationType() | |
| valueOf | back to summary |
|---|---|
| public static SynchronizationType valueOf(String name) | |
| values | back to summary |
|---|---|
| public static SynchronizationType[] values() | |