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 000370e commit 93c3b7eCopy full SHA for 93c3b7e
hibernate-core/src/main/java/org/hibernate/dialect/function/OrdinalFunction.java
@@ -75,7 +75,6 @@ else if ( argumentType.isString() || argumentType.isEnum() ) {
75
sqlAppender.appendSql( " then " );
76
sqlAppender.appendSql( enumValue.ordinal() );
77
}
78
- sqlAppender.appendSql( " else -1 " );
79
sqlAppender.appendSql( " end" );
80
81
0 commit comments