HHH-2802 : @OrderBy property - minor

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@15505 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2008-11-04 21:46:12 +00:00
parent 46b1ca8267
commit 4bad2d2b7e
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ public class OrderByFragmentParser extends GeneratedOrderByFragmentParser {
} }
if ( replacements == null || replacements.length == 0 ) { 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 ) { else if ( replacements.length == 1 ) {
return getASTFactory().create( OrderByTemplateTokenTypes.IDENT, Template.TEMPLATE + "." + replacements[0] ); return getASTFactory().create( OrderByTemplateTokenTypes.IDENT, Template.TEMPLATE + "." + replacements[0] );