NamedQuery.lockMode - JPA annotation element
Annotation Element javax.persistence.NamedQuery
LockModeType lockMode
(Optional) The lock mode type to use in query execution. If a
lockMode
other than LockModeType.NONE
is specified, the query must be executed in a transaction. - Default value:
- javax.persistence.LockModeType.NONE
- Since:
- JPA 2.0