Skip to content

Commit 6d93f0e

Browse files
committed
Fix backwards compatibility issue with FunctionReturnTypeResolver
1 parent 89629bc commit 6d93f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/FunctionReturnTypeResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public interface FunctionReturnTypeResolver {
4343
ReturnableType<?> impliedType,
4444
List<? extends SqmTypedNode<?>> arguments,
4545
TypeConfiguration typeConfiguration) {
46-
throw new UnsupportedOperationException( "Not implemented for " + getClass().getName() );
46+
return resolveFunctionReturnType( impliedType, new FakeSqmToSqlAstConverter( null ), arguments, typeConfiguration );
4747
}
4848

4949
/**

0 commit comments

Comments
 (0)