|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.FlushMode
Represents a flushing strategy. The flush process synchronizes database state with session state by detecting state changes and executing SQL statements.
Session.setFlushMode(FlushMode)
,
Serialized FormField Summary | |
static FlushMode |
AUTO
The Session is sometimes flushed before query execution in order to ensure that queries never return stale state. |
static FlushMode |
COMMIT
The Session is flushed when Transaction.commit() is called. |
static FlushMode |
NEVER
The Session is never flushed unless flush() is explicitly called by the application. |
Method Summary | |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final FlushMode NEVER
public static final FlushMode COMMIT
public static final FlushMode AUTO
Method Detail |
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |