HHH-15753 GROUP BY ALIAS support in 23c

This commit is contained in:
LLEFEVRE 2024-02-14 17:02:31 +01:00 committed by Christian Beikov
parent c8234fc493
commit 464d3a82fd
1 changed files with 4 additions and 0 deletions

View File

@ -958,6 +958,10 @@ public class OracleDialect extends Dialect {
return getVersion().isSameOrAfter( 23 ) ? "select systimestamp" : "select systimestamp from dual";
}
@Override
public SelectItemReferenceStrategy getGroupBySelectItemReferenceStrategy() {
return getVersion().isSameOrAfter( 23 ) ? SelectItemReferenceStrategy.ALIAS : SelectItemReferenceStrategy.EXPRESSION;
}
// features which remain constant across 8i, 9i, and 10g ~~~~~~~~~~~~~~~~~~