Posts by Jonathan Patrício Benedet • 52 points
2 posts
-
-2
votes3
answers504
viewsA: JSON validation with more than one object
Your JSON with 2 objects is an array, so you should use the JsonArray, go through the array and then use the JsonObject.
-
4
votes1
answer239
viewsA: sql result in spring boot
The mistake is because the method findByUsuarioPermissao expects the return of an object only and its query is returning more than one object. The ideal would be to change to List<Object> or…