HHH-12824 ASTParserLoadingTest.testComponentNullnessChecks fails with DB2 because it uses legacy-style query parameter

This commit is contained in:
Martin Simka 2018-07-18 14:57:00 +02:00 committed by Guillaume Smet
parent 103de8de84
commit 2f12913b98
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) {