org.hibernate
public final class ScrollMode extends java.lang.Object implements java.io.Serializable
Query.scroll(ScrollMode)
,
ScrollableResults
,
Serialized FormModifier and Type | Field and Description |
---|---|
static ScrollMode |
FORWARD_ONLY |
static ScrollMode |
SCROLL_INSENSITIVE
Note that since the Hibernate session acts as a cache, you
might need to expicitly evict objects, if you need to see
changes made by other transactions.
|
static ScrollMode |
SCROLL_SENSITIVE |
Modifier and Type | Method and Description |
---|---|
boolean |
lessThan(ScrollMode other) |
int |
toResultSetType() |
java.lang.String |
toString() |
public static final ScrollMode FORWARD_ONLY
java.sql.ResultSet.TYPE_FORWARD_ONLY
public static final ScrollMode SCROLL_SENSITIVE
java.sql.ResultSet.TYPE_SCROLL_SENSITIVE
public static final ScrollMode SCROLL_INSENSITIVE
java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE
public java.lang.String toString()
toString
in class java.lang.Object
public int toResultSetType()
public boolean lessThan(ScrollMode other)
Copyright © 2014. All Rights Reserved.