|
Spring Data Jpa | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @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.
Required Element Summary | |
---|---|
javax.persistence.LockModeType |
value
The LockModeType to be used when executing the annotated query or CRUD method. |
Element Detail |
---|
public abstract javax.persistence.LockModeType value
LockModeType
to be used when executing the annotated query or CRUD method.
|
Spring Data Jpa | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |