HHH-4545 - Allow o.h.action.Executable to register for either (or both) before or after transaction completion callbacks

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17914 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2009-11-04 21:21:36 +00:00
parent 9c74610a9d
commit 07ae68ff98
1 changed files with 2 additions and 2 deletions

View File

@ -527,14 +527,14 @@ public class ASTParserLoadingTest extends FunctionalTestCase {
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();