Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Query(value = "SELECT n FROM Noticia n JOIN n.categorias c WHERE c IN :categoria",
- countQuery = "SELECT count(n) FROM Noticia n JOIN n.categorias c WHERE c IN :categoria")
- Page obterNoticiasPorIdCategoria(Pageable pageable, @Param ("categoria") Categoria categoria);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement