Module org.eclipse.persistence.core
Package org.eclipse.persistence.config
Class ResultSetConcurrency
java.lang.Object
org.eclipse.persistence.config.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.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.This constructor will be marked private and the class final. -
Method Summary
-
Field Details
-
Updatable
The concurrency mode for a ResultSet object that may be updated.- See Also:
-
ReadOnly
The concurrency mode for a ResultSet object that may NOT be updated.- See Also:
-
DEFAULT
The default type is Updatable.- See Also:
-
-
Constructor Details
-
ResultSetConcurrency
Deprecated, for removal: This API element is subject to removal in a future version.This constructor will be marked private and the class final. It is not designed for extensibility.
-