public final class ScrollMode extends Object implements Serializable
Specifies the type of JDBC scrollable result set to use
underneath a ScrollableResults
see
Query#scroll(ScrollMode)
see
ScrollableResults
author
Gavin King
Fields Summary
private final int
resultSetType
private final String
name
private static final Map
INSTANCES
public static final ScrollMode
FORWARD_ONLY
public static final ScrollMode
SCROLL_SENSITIVE
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.