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 ca8e1fd commit 26cbec5Copy full SHA for 26cbec5
hibernate-core/src/main/java/org/hibernate/dialect/function/OrdinalFunction.java
@@ -39,10 +39,7 @@ public class OrdinalFunction
39
public OrdinalFunction(TypeConfiguration typeConfiguration) {
40
super(
41
"ordinal",
42
- StandardArgumentsValidators.composite(
43
- StandardArgumentsValidators.exactly( 1 ),
44
- new ArgumentTypesValidator( null, ENUM )
45
- ),
+ new ArgumentTypesValidator( null, ENUM ),
46
StandardFunctionReturnTypeResolvers.invariant(
47
typeConfiguration.getBasicTypeRegistry().resolve( StandardBasicTypes.INTEGER )
48
),
0 commit comments