HHH-12824 ASTParserLoadingTest.testComponentNullnessChecks fails with DB2 because it uses legacy-style query parameter
This commit is contained in:
parent
103de8de84
commit
2f12913b98
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in New Issue