org.hibernate
Class ScrollMode
java.lang.Object
org.hibernate.ScrollMode
- All Implemented Interfaces:
- java.io.Serializable
public final class ScrollMode
- extends java.lang.Object
- implements java.io.Serializable
Specifies the type of JDBC scrollable result set to use
underneath a ScrollableResults
- Author:
- Gavin King
- See Also:
Query.scroll(ScrollMode)
,
ScrollableResults
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FORWARD_ONLY
public static final ScrollMode FORWARD_ONLY
- See Also:
java.sql.ResultSet.TYPE_FORWARD_ONLY
SCROLL_SENSITIVE
public static final ScrollMode SCROLL_SENSITIVE
- See Also:
java.sql.ResultSet.TYPE_SCROLL_SENSITIVE
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.
- See Also:
java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toResultSetType
public int toResultSetType()
- Returns:
- the JDBC result set type code
lessThan
public boolean lessThan(ScrollMode other)
Copyright © 2008 Hibernate.org. All Rights Reserved.