From 4bad2d2b7e51e3e7e1821354064481e442fe1d6c Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Tue, 4 Nov 2008 21:46:12 +0000 Subject: [PATCH] HHH-2802 : @OrderBy property - minor git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15505 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../org/hibernate/sql/ordering/antlr/OrderByFragmentParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/hibernate/sql/ordering/antlr/OrderByFragmentParser.java b/core/src/main/java/org/hibernate/sql/ordering/antlr/OrderByFragmentParser.java index 059bb91c30..7db8b527f4 100644 --- a/core/src/main/java/org/hibernate/sql/ordering/antlr/OrderByFragmentParser.java +++ b/core/src/main/java/org/hibernate/sql/ordering/antlr/OrderByFragmentParser.java @@ -133,7 +133,7 @@ public class OrderByFragmentParser extends GeneratedOrderByFragmentParser { } if ( replacements == null || replacements.length == 0 ) { - return getASTFactory().create( OrderByTemplateTokenTypes.IDENT, Template.TEMPLATE + "." + ident ); + return getASTFactory().create( OrderByTemplateTokenTypes.IDENT, Template.TEMPLATE + "." + text ); } else if ( replacements.length == 1 ) { return getASTFactory().create( OrderByTemplateTokenTypes.IDENT, Template.TEMPLATE + "." + replacements[0] );