SHARE
TWEET

Untitled

a guest Oct 21st, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Query(value = "SELECT n FROM Noticia n JOIN n.categorias c WHERE c IN :categoria",
  2.        countQuery = "SELECT count(n) FROM Noticia n JOIN n.categorias c WHERE c IN :categoria")
  3. Page obterNoticiasPorIdCategoria(Pageable pageable, @Param ("categoria") Categoria categoria);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top