HHH-18339 Set support filter clause to True for H2
This commit is contained in:
parent
e2e1661845
commit
bb90a84505
|
@ -411,4 +411,9 @@ public class H2LegacySqlAstTranslator<T extends JdbcOperation> extends AbstractS
|
||||||
protected boolean supportsJoinInMutationStatementSubquery() {
|
protected boolean supportsJoinInMutationStatementSubquery() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean supportsFilterClause() {
|
||||||
|
return getDialect().getVersion().isSameOrAfter( 1, 4, 197 );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -384,4 +384,10 @@ public class H2SqlAstTranslator<T extends JdbcOperation> extends SqlAstTranslato
|
||||||
protected boolean supportsJoinInMutationStatementSubquery() {
|
protected boolean supportsJoinInMutationStatementSubquery() {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean supportsFilterClause() {
|
||||||
|
// Introduction of FILTER clause https://github.com/h2database/h2database/commit/9e6dbf3baa57000f670826ede431dc7fb4cd9d9c
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue