Annotation Interface Lock
Annotation used to specify the
LockModeType
to be used when executing the query. It will be evaluated when
using Query
on a query method or if you derive the query from the method name.- Author:
- Aleksander Blomskøld, Oliver Gierke
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionjakarta.persistence.LockModeType
TheLockModeType
to be used when executing the annotated query or CRUD method.
-
Element Details
-
value
jakarta.persistence.LockModeType valueTheLockModeType
to be used when executing the annotated query or CRUD method.- Returns:
-