org.hibernate
Class ScrollMode
- Serializable
public final class ScrollMode
extends java.lang.Object
implements Serializable
Specifies the type of JDBC scrollable result set to use
underneath a ScrollableResults
FORWARD_ONLY
public static final ScrollMode FORWARD_ONLY
java.sql.ResultSet.TYPE_FORWARD_ONLY
SCROLL_INSENSITIVE
public static final 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.
java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE
SCROLL_SENSITIVE
public static final ScrollMode SCROLL_SENSITIVE
java.sql.ResultSet.TYPE_SCROLL_SENSITIVE
toResultSetType
public int toResultSetType()
- the JDBC result set type code
toString
public String toString()