From 4ac4ed23db46ac9003e370341df09bc13c636e09 Mon Sep 17 00:00:00 2001 From: Benjamin Tegarden Date: Fri, 2 Aug 2013 12:41:53 +0800 Subject: [PATCH] HHH-8404: Correctly render 'ListIndexExpression' --- .../hibernate/jpa/criteria/expression/ListIndexExpression.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/expression/ListIndexExpression.java b/hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/expression/ListIndexExpression.java index be7716ab3d..2bd3b39d84 100644 --- a/hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/expression/ListIndexExpression.java +++ b/hibernate-entitymanager/src/main/java/org/hibernate/jpa/criteria/expression/ListIndexExpression.java @@ -60,7 +60,7 @@ public class ListIndexExpression extends ExpressionImpl implements Seri public String render(RenderingContext renderingContext) { return "index(" - + origin.getPathIdentifier() + '.' + getListAttribute().getName() + + origin.getPathIdentifier() + ")"; }