HHH-1658 - unexpected AST node on HQL UPDATE

This commit is contained in:
Steve Ebersole 2012-09-07 12:03:48 -05:00
parent e9bd0afe81
commit 7b486fc4a4
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ public class BulkManipulationTest extends BaseCoreFunctionalTestCase {
// just checking parsing and syntax...
s.createQuery( "update Human h set h.bodyWeight = h.bodyWeight + (select count(1) from IntegerVersioned)" ).executeUpdate();
s.createQuery( "update Human h set h.bodyWeight = h.bodyWeight + (select count(1) from IntegerVersioned) where h.description = 'abc'" ).executeUpdate();
s.getTransaction().commit();
s.close();