| Modifier and Type | Method and Description |
|---|---|
LockModeType |
Query.getLockMode()
Get the current lock mode for the query.
|
static LockModeType |
LockModeType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockModeType[] |
LockModeType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
TypedQuery<X> |
TypedQuery.setLockMode(LockModeType lockMode)
Set the lock mode type to be used for the query execution.
|
Query |
Query.setLockMode(LockModeType lockMode)
Set the lock mode type to be used for the query execution.
|
Copyright © 2016. All rights reserved.