mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 03:38:16 +00:00
HHH-12824 ASTParserLoadingTest.testComponentNullnessChecks fails with DB2 because it uses legacy-style query parameter
This commit is contained in:
parent
393129fd1d
commit
3f468facd0
@ -770,7 +770,7 @@ public void testComponentNullnessChecks() {
|
||||
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…
x
Reference in New Issue
Block a user