diff --git a/hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java b/hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java index fbda64e438..e13aafa0bc 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java @@ -770,7 +770,7 @@ public class ASTParserLoadingTest extends BaseCoreFunctionalTestCase { assertEquals( 3, results.size() ); String query = ( getDialect() instanceof DB2Dialect || getDialect() instanceof HSQLDialect ) ? - "from Human where cast(? as string) is null" : + "from Human where cast(?1 as string) is null" : "from Human where ?1 is null" ; if ( getDialect() instanceof DerbyDialect ) {