|
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.ResultSetType
public class ResultSetType
JDBC ResultSet type hint values. The class contains all the valid values for QueryHints.RESULT_SET_TYPE query hint. This can be used on ScrollableCursor queries to set the JDBC ResultSet scroll type. JPA Query Hint Usage:
query.setHint(QueryHints.RESULT_SET_TYPE, ResultSetType.ForwardOnly);
or
@QueryHint(name=QueryHints.RESULT_SET_TYPE, value=ResultSetType.ForwardOnly)
Hint values are case-insensitive. "" could be used instead of default value ResultSetType.ScrollInsensitive.
QueryHints.RESULT_SET_TYPE, ScrollableCursorPolicy.setResultSetType(int)| Field Summary | |
|---|---|
static java.lang.String |
DEFAULTThe default type is ScrollInsensitive. |
static java.lang.String |
ForwardThe rows in a result set will be processed in a forward direction; first-to-last. |
static java.lang.String |
ForwardOnlyThe type for a ResultSet object whose cursor may move only forward. |
static java.lang.String |
ReverseThe rows in a result set will be processed in a reverse direction; last-to-first. |
static java.lang.String |
ScrollInsensitiveThe type for a ResultSet object that is scrollable but generally not sensitive to changes made by others. |
static java.lang.String |
ScrollSensitiveThe type for a ResultSet object that is scrollable and generally sensitive to changes made by others. |
static java.lang.String |
UnknownThe order in which rows in a result set will be processed is unknown. |
| Constructor Summary | |
|---|---|
ResultSetType() |
|
| 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 Forward
public static final java.lang.String ForwardOnly
public static final java.lang.String Unknown
public static final java.lang.String Reverse
public static final java.lang.String ScrollInsensitive
public static final java.lang.String ScrollSensitive
public static final java.lang.String DEFAULT
| Constructor Detail |
|---|
public ResultSetType()
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||