Posts by hugoleonardomf • 21 points
3 posts
-
0
votes2
answers70
viewsA: Maintenance problem with JPA query
Try it that way: String jpql = "select sum(v.valor) from Venda v group by v.data"; With the result, you set the total value.
-
1
votes1
answer68
viewsA: Tree Selection Primefaces
The idea is to bring in your Tree List only folders and, when selecting an item (folder), you click on the side the files of the selected folder using list components (Datatable or Datalist).
-
1
votes2
answers1127
viewsA: Validation Login and Password Primeface and JSF
Hello. The idea is you separate the verification methods. First check if the user exists (getPessoaPorUsuarioName), if it does not exist (Message: Invalid User). If the user exists, check the…