HHH-5097 - Bug in ParameterizedFunctionExpression with two or more parameters: IllegalArgumentException
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20016 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
fff88d2182
commit
f0bda99d68
|
@ -98,8 +98,10 @@ public class ParameterizedFunctionExpression<X>
|
|||
}
|
||||
|
||||
protected void renderArguments(StringBuilder buffer, CriteriaQueryCompiler.RenderingContext renderingContext) {
|
||||
String sep = "";
|
||||
for ( Expression argument : argumentExpressions ) {
|
||||
buffer.append( ( (Renderable) argument ).render( renderingContext ) );
|
||||
buffer.append( sep ).append( ( (Renderable) argument ).render( renderingContext ) );
|
||||
sep = ", ";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue