ScrollableResults.
| Modifier and Type | Field and Description |
|---|---|
| public static final ScrollMode | FORWARD_ONLY
Requests a scrollable result that is only scrollable forwards. |
| private final int | |
| public static final ScrollMode | SCROLL_INSENSITIVE
Requests a scrollable result which is insensitive to changes in the underlying data. |
| public static final ScrollMode | SCROLL_SENSITIVE
Requests a scrollable result which is sensitive to changes in the underlying data. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if this mode is less than the other.The provided mode other)Determine if |
| public int | Returns: the JDBC result set type codeGet the corresponding JDBC scroll type code constant value. |
| public static ScrollMode | |
| public static ScrollMode[] |
| FORWARD_ONLY | back to summary |
|---|---|
| public static final ScrollMode FORWARD_ONLY Requests a scrollable result that is only scrollable forwards.
| |
| resultSetType | back to summary |
|---|---|
| private final int resultSetType | |
| SCROLL_INSENSITIVE | back to summary |
|---|---|
| public static final ScrollMode SCROLL_INSENSITIVE Requests a scrollable result which is insensitive to changes in the underlying data. Note that since the Hibernate session acts as a cache, you might need to explicitly evict objects, if you need to see changes made by other transactions. | |
| SCROLL_SENSITIVE | back to summary |
|---|---|
| public static final ScrollMode SCROLL_SENSITIVE Requests a scrollable result which is sensitive to changes in the underlying data. | |
| ScrollMode | back to summary |
|---|---|
| private ScrollMode(int level) | |
| lessThan | back to summary |
|---|---|
| public boolean lessThan(ScrollMode other) Determine if
| |
| toResultSetType | back to summary |
|---|---|
| public int toResultSetType() Get the corresponding JDBC scroll type code constant value.
| |
| valueOf | back to summary |
|---|---|
| public static ScrollMode valueOf(String name) | |
| values | back to summary |
|---|---|
| public static ScrollMode[] values() | |