File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hibernate-core/src/main/java/org/hibernate/sql/ast/spi Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5603,7 +5603,7 @@ protected void renderSelectExpression(Expression expression) {
5603
5603
}
5604
5604
5605
5605
protected void renderExpressionAsClauseItem (Expression expression ) {
5606
- // Most databases do not support predicates as top level items
5606
+ // Most databases do not support predicates as top- level items
5607
5607
if ( expression instanceof Predicate ) {
5608
5608
appendSql ( "case when " );
5609
5609
expression .accept ( this );
@@ -5619,7 +5619,7 @@ protected void renderExpressionAsClauseItem(Expression expression) {
5619
5619
}
5620
5620
5621
5621
protected void renderSelectExpressionWithCastedOrInlinedPlainParameters (Expression expression ) {
5622
- // Null literals have to be casted in the select clause
5622
+ // Null literals have to be cast in the select clause
5623
5623
if ( expression instanceof Literal literal ) {
5624
5624
if ( literal .getLiteralValue () == null ) {
5625
5625
renderCasted ( literal );
You can’t perform that action at this time.
0 commit comments