public String toQueryString ( Criteria criteria , CriteriaQueryBuilder queryBuilder ) { String absolutePath = queryBuilder . getAbsolutePath ( criteria , relativePath ) ; return ascending ? absolutePath : absolutePath + " DESC" ; }
Renders the order to a ORDER BY substring of JPQL query