Example usage for Java org.hibernate FlushMode fields, constructors, methods, implement or subclass
The text is from its open source code.
FlushMode | MANUAL The Session is only ever flushed when Session#flush is explicitly called by the application. |
FlushMode | COMMIT The Session is flushed when Transaction#commit is called. |
FlushMode | AUTO The Session is sometimes flushed before query execution in order to ensure that queries never return stale state. |
FlushMode | ALWAYS The Session is flushed before every query. |
boolean | isManualFlushMode(FlushMode mode) Checks to see if the given mode is the same as #MANUAL . |
boolean | lessThan(FlushMode other) Checks to see if this flush mode is less than the given flush mode. |