Author: steve.ebersole(a)jboss.com
Date: 2009-11-04 16:21:36 -0500 (Wed, 04 Nov 2009)
New Revision: 17914
Modified:
core/trunk/testsuite/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java
Log:
HHH-4545 - Allow o.h.action.Executable to register for either (or both) before or after
transaction completion callbacks
Modified:
core/trunk/testsuite/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java
===================================================================
---
core/trunk/testsuite/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java 2009-11-04
21:19:21 UTC (rev 17913)
+++
core/trunk/testsuite/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java 2009-11-04
21:21:36 UTC (rev 17914)
@@ -527,14 +527,14 @@
assertEquals( 1, types.length );
assertTrue( types[0] instanceof ComponentType );
- // Test the ability to doAfterTransactionCompletion comparisions between component
values
+ // Test the ability to perform comparisions between component values
s.createQuery( "from Human h where h.name = h.name" ).list();
s.createQuery( "from Human h where h.name = :name" ).setParameter(
"name", new Name() ).list();
s.createQuery( "from Human where name = :name" ).setParameter(
"name", new Name() ).list();
s.createQuery( "from Human h where :name = h.name" ).setParameter(
"name", new Name() ).list();
s.createQuery( "from Human h where :name <> h.name" ).setParameter(
"name", new Name() ).list();
- // Test the ability to doAfterTransactionCompletion comparisions between a component
and an explicit row-value
+ // Test the ability to perform comparisions between a component and an explicit
row-value
s.createQuery( "from Human h where h.name = ('John', 'X',
'Doe')" ).list();
s.createQuery( "from Human h where ('John', 'X', 'Doe') =
h.name" ).list();
s.createQuery( "from Human h where ('John', 'X', 'Doe')
<> h.name" ).list();
Show replies by date