HHH-5717 : LockOptions not set correctly for queries
This commit is contained in:
parent
0a9e201a01
commit
ca057ccb4c
|
@ -132,7 +132,7 @@ public class QueryImpl extends AbstractQueryImpl {
|
|||
public Query setLockOptions(LockOptions lockOption) {
|
||||
this.lockOptions.setLockMode(lockOption.getLockMode());
|
||||
this.lockOptions.setScope(lockOption.getScope());
|
||||
this.lockOptions.setTimeOut(lockOptions.getTimeOut());
|
||||
this.lockOptions.setTimeOut(lockOption.getTimeOut());
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue