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:
parent
af7c746a54
commit
d761d3ef45
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue