HHH-17681 Restore AbstractSqmSelfRenderingFunctionDescriptor backwards compatibility
This commit is contained in:
parent
8a39ea95c1
commit
122598dcc2
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue