HHH-5717 : LockOptions not set correctly for queries

This commit is contained in:
Gail Badner 2011-01-07 16:35:26 -08:00
parent 0a9e201a01
commit ca057ccb4c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}