|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.config.ResultSetConcurrency
public class ResultSetConcurrency
JDBC ResultSet concurrency hint values. The class contains all the valid values for QueryHints.RESULT_SET_CONCURRENCY query hint. This can be used on ScrollableCursor queries to set the JDBC ResultSet concurrency. JPA Query Hint Usage:
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)| Field Summary | |
|---|---|
static java.lang.String |
DEFAULTThe default type is Updatable. |
static java.lang.String |
ReadOnlyThe concurrency mode for a ResultSet object that may NOT be updated. |
static java.lang.String |
UpdatableThe concurrency mode for a ResultSet object that may be updated. |
| Constructor Summary | |
|---|---|
ResultSetConcurrency() |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String Updatable
public static final java.lang.String ReadOnly
public static final java.lang.String DEFAULT
| Constructor Detail |
|---|
public ResultSetConcurrency()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||