throw new HibernateException( "Unable to parse order-by fragment", t );
}
if (LOG.isTraceEnabled()) {
ASTPrinter printer = new ASTPrinter( OrderByTemplateTokenTypes.class );
LOG.trace(printer.showAsString(parser.getAST(), "--- {order-by fragment} ---"));
}
OrderByFragmentRenderer renderer = new OrderByFragmentRenderer();
try {
renderer.orderByFragment( parser.getAST() );