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:
parent
46b1ca8267
commit
4bad2d2b7e
|
@ -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] );
|
||||||
|
|
Loading…
Reference in New Issue