Java org.hibernate FlushMode fields, constructors, methods, implement or subclass

Example usage for Java org.hibernate FlushMode fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.hibernate FlushMode.

The text is from its open source code.

Field

FlushModeMANUAL
The Session is only ever flushed when Session#flush is explicitly called by the application.
FlushModeCOMMIT
The Session is flushed when Transaction#commit is called.
FlushModeAUTO
The Session is sometimes flushed before query execution in order to ensure that queries never return stale state.
FlushModeALWAYS
The Session is flushed before every query.

Method

booleanisManualFlushMode(FlushMode mode)
Checks to see if the given mode is the same as #MANUAL .
booleanlessThan(FlushMode other)
Checks to see if this flush mode is less than the given flush mode.