HHH-4661 - Properly propagate Query.setLockMode to Hibernate Core

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18676 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2010-02-01 19:49:40 +00:00
parent af7c746a54
commit d761d3ef45
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ public class SQLQueryImpl extends AbstractQueryImpl implements SQLQuery {
throw new UnsupportedOperationException("cannot set lock options for a native SQL query"); throw new UnsupportedOperationException("cannot set lock options for a native SQL query");
} }
protected LockOptions getLockOptions() { public LockOptions getLockOptions() {
//we never need to apply locks to the SQL //we never need to apply locks to the SQL
return null; return null;
} }