| http://www.w3.org/ns/prov#value | - Currently marking named queries as 'useless' feature in our project.Update: as suggested in comments there is a solution (quite a simple one I should admit) which is to wrap query string retrieved named query into another query call like that:Query q = s.createQuery(s.getNamedQuery(query.without.order.by).getQueryString()+ order by + sortByColumnName);
|