We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9230bf commit 250d495Copy full SHA for 250d495
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DerbySqlAstTranslator.java
@@ -244,8 +244,7 @@ protected void renderPartitionItem(Expression expression) {
244
if ( expression instanceof Literal ) {
245
appendSql( "'0'" );
246
}
247
- else if ( expression instanceof Summarization ) {
248
- Summarization summarization = (Summarization) expression;
+ else if ( expression instanceof Summarization summarization ) {
249
appendSql( summarization.getKind().sqlText() );
250
appendSql( OPEN_PARENTHESIS );
251
renderCommaSeparated( summarization.getGroupings() );
0 commit comments