@Target(value={METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented public @interface Lock
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.Modifier and Type | Required Element and Description |
---|---|
javax.persistence.LockModeType |
value
The
LockModeType to be used when executing the annotated query or CRUD method. |
Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.