HHH-18367 Fix for Informix sum on case expression error
This commit is contained in:
parent
cda4b1ca37
commit
d341240b1a
|
@ -62,6 +62,7 @@ import org.hibernate.query.sqm.sql.SqmTranslatorFactory;
|
||||||
import org.hibernate.query.sqm.sql.StandardSqmTranslatorFactory;
|
import org.hibernate.query.sqm.sql.StandardSqmTranslatorFactory;
|
||||||
import org.hibernate.query.sqm.tree.select.SqmSelectStatement;
|
import org.hibernate.query.sqm.tree.select.SqmSelectStatement;
|
||||||
import org.hibernate.service.ServiceRegistry;
|
import org.hibernate.service.ServiceRegistry;
|
||||||
|
import org.hibernate.sql.ast.SqlAstNodeRenderingMode;
|
||||||
import org.hibernate.sql.ast.SqlAstTranslator;
|
import org.hibernate.sql.ast.SqlAstTranslator;
|
||||||
import org.hibernate.sql.ast.SqlAstTranslatorFactory;
|
import org.hibernate.sql.ast.SqlAstTranslatorFactory;
|
||||||
import org.hibernate.sql.ast.spi.SqlAppender;
|
import org.hibernate.sql.ast.spi.SqlAppender;
|
||||||
|
@ -305,6 +306,7 @@ public class InformixDialect extends Dialect {
|
||||||
super.initializeFunctionRegistry(functionContributions);
|
super.initializeFunctionRegistry(functionContributions);
|
||||||
|
|
||||||
CommonFunctionFactory functionFactory = new CommonFunctionFactory(functionContributions);
|
CommonFunctionFactory functionFactory = new CommonFunctionFactory(functionContributions);
|
||||||
|
functionFactory.aggregates( this, SqlAstNodeRenderingMode.NO_PLAIN_PARAMETER );
|
||||||
functionFactory.instr();
|
functionFactory.instr();
|
||||||
functionFactory.substr();
|
functionFactory.substr();
|
||||||
functionFactory.substringFromFor();
|
functionFactory.substringFromFor();
|
||||||
|
|
Loading…
Reference in New Issue