java.lang.Object
org.eclipse.persistence.config.PessimisticLock
PessimisticLock hint values.
The class contains all the valid values for QueryHints.PESSIMISTIC_LOCK query hint.
JPA Query Hint Usage:
query.setHint(QueryHints.PESSIMISTIC_LOCK, PessimisticLock.Lock);
or
@QueryHint(name=QueryHints.PESSIMISTIC_LOCK, value=PessimisticLock.Lock)
Hint values are case-insensitive. "" could be used instead of default value PessimisticLock.DEFAULT.
- 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
-
NoLock
- See Also:
-
Lock
- See Also:
-
LockNoWait
- See Also:
-
DEFAULT
- See Also:
-
-
Constructor Details
-
PessimisticLock
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.
-