HHH-17681 Restore AbstractSqmSelfRenderingFunctionDescriptor backwards compatibility

This commit is contained in:
Christian Beikov 2024-01-26 12:24:23 +01:00
parent 8a39ea95c1
commit 122598dcc2
1 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,9 @@ import org.hibernate.query.sqm.produce.function.FunctionReturnTypeResolver;
import org.hibernate.query.sqm.tree.SqmTypedNode;
import org.hibernate.query.sqm.tree.predicate.SqmPredicate;
import org.hibernate.query.sqm.tree.select.SqmOrderByClause;
import org.hibernate.sql.ast.SqlAstTranslator;
import org.hibernate.sql.ast.spi.SqlAppender;
import org.hibernate.sql.ast.tree.SqlAstNode;
import java.util.List;
@ -44,6 +47,15 @@ public abstract class AbstractSqmSelfRenderingFunctionDescriptor
this.functionKind = functionKind;
}
@Override
public void render(
SqlAppender sqlAppender,
List<? extends SqlAstNode> sqlAstArguments,
ReturnableType<?> returnType,
SqlAstTranslator<?> walker) {
render( sqlAppender, sqlAstArguments, walker );
}
@Override
public FunctionKind getFunctionKind() {
return functionKind;