Posts by Henrique Santos • 51 points
5 posts
-
0
votes1
answer323
viewsQ: 2 form on the same page with Spring mvc, Thymeleaf, anyone know how?
This Physician registration screen, then I created this modal for the user to register specialties. @GetMapping("/cadastro") public ModelAndView preSalvar(@ModelAttribute("medico") Medico…
-
4
votes4
answers4853
viewsQ: What kind of return of a select Count(*) in Spring JPA?
I need to know the type of return that Spring JPA returns to put in the Service package, because it is giving a NullPointerException: Dao: public interface PlaylistDao extends…
-
0
votes1
answer451
viewsQ: How do I resume the amount of Spring JPA records?
I want to return the value of playlists at the bank, but that code there did not work. public interface PlaylistDao extends JpaRepository<Playlist, Long> { @Query("select count(*) from…
-
1
votes1
answer75
viewsQ: How to keep the same object between requests in Spring MVC?
I want to add the items to the same object Request dynamically, but always instantiating a new Request. @GetMapping("/novo") public ModelAndView preSalvar(@ModelAttribute ("pedido") Pedido Pedido){…
-
0
votes2
answers1328
viewsQ: Problem dragging components in Android Studio
I’m starting to use android studio today, this blue box on the right layout side ta? And every time I drag components into the middle, the button goes up by itself, but the button checkbox is still…