public final class ScrollMode extends Object implements Serializable
Query.scroll(ScrollMode),
ScrollableResults,
Serialized Form| Modifier 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() |
String |
toString() |
public static final ScrollMode FORWARD_ONLY
ResultSet.TYPE_FORWARD_ONLYpublic static final ScrollMode SCROLL_SENSITIVE
ResultSet.TYPE_SCROLL_SENSITIVEpublic static final ScrollMode SCROLL_INSENSITIVE
ResultSet.TYPE_SCROLL_INSENSITIVEpublic int toResultSetType()
public boolean lessThan(ScrollMode other)
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved