Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public Estabelecimento ordenarPontos(String pontos) {
- String jpql = "FROM Estabelecimento estabelecimento ORDER BY estabelecimento.pontos DESC";
- return this.sessao
- .createQuery(jpql, Estabelecimento.class)
- .getResultList();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement