public class ResultSetConcurrency
extends java.lang.Object
query.setHint(QueryHints.RESULT_SET_CONCURRENCY, ResultSetConcurrency.ForwardOnly);
or
@QueryHint(name=QueryHints.RESULT_SET_CONCURRENCY, value=ResultSetConcurrency.ForwardOnly)
Hint values are case-insensitive. "" could be used instead of default value ResultSetConcurrency.Updatable.
QueryHints.RESULT_SET_CONCURRENCY
,
ScrollableCursorPolicy.setResultSetConcurrency(int)
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT
The default type is Updatable.
|
static java.lang.String |
ReadOnly
The concurrency mode for a ResultSet object that may NOT be updated.
|
static java.lang.String |
Updatable
The concurrency mode for a ResultSet object that may be updated.
|
Constructor and Description |
---|
ResultSetConcurrency() |
public static final java.lang.String Updatable
public static final java.lang.String ReadOnly
public static final java.lang.String DEFAULT