For example, COMMIT specifies that the session flushes
automatically when the transaction is about to commit.
Session#setHibernateFlushMode, org.hibernate.query.CommonQueryContract#setHibernateFlushMode
| Modifier and Type | Field and Description |
|---|---|
| public static final FlushMode | ALWAYS
The |
| public static final FlushMode | AUTO
The |
| public static final FlushMode | COMMIT
The |
| public static final FlushMode | MANUAL
The |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static FlushMode | |
| public static FlushMode | Returns: aFlushMode, or null if the argument was nullthe name of a externalName)FlushMode, or of a
jakarta.Interprets an external representation of a flush mode. |
| public boolean | |
| private int | |
| public static FlushModeType | |
| public FlushModeType | |
| public static FlushMode | |
| public static FlushMode[] |
| ALWAYS | back to summary |
|---|---|
| public static final FlushMode ALWAYS The | |
| AUTO | back to summary |
|---|---|
| public static final FlushMode AUTO The
| |
| COMMIT | back to summary |
|---|---|
| public static final FlushMode COMMIT The
| |
| MANUAL | back to summary |
|---|---|
| public static final FlushMode MANUAL The | |
| FlushMode | back to summary |
|---|---|
| private FlushMode() | |
| fromJpaFlushMode | back to summary |
|---|---|
| public static FlushMode fromJpaFlushMode(FlushModeType flushModeType) | |
| interpretExternalSetting | back to summary |
|---|---|
| public static FlushMode interpretExternalSetting(String externalName) Interprets an external representation of a flush mode.
| |
| lessThan | back to summary |
|---|---|
| public boolean lessThan(FlushMode other) Compare this flush mode to the given flush mode.
| |
| level | back to summary |
|---|---|
| private int level() | |
| toJpaFlushMode | back to summary |
|---|---|
| public static FlushModeType toJpaFlushMode(FlushMode flushMode) | |
| toJpaFlushMode | back to summary |
|---|---|
| public FlushModeType toJpaFlushMode() | |
| valueOf | back to summary |
|---|---|
| public static FlushMode valueOf(String name) | |
| values | back to summary |
|---|---|
| public static FlushMode[] values() | |