Posts by dayson rodrigues • 9 points
5 posts
-
0
votes1
answer15
viewsQ: I cannot create table when running my project in Flyway
I wrote in SQL my table in the file and I’m using flyway, I’ve created the class all right but when I go up the project does not create the table written and does not present any error. NOTE: I have…
-
-1
votes2
answers32
viewsQ: I cannot update my object using PUT
Although I know very little about Spring because I am learning, I cannot save a recovered object, the error is when I pass the object personal Pository.save(personSalva) I came to see some examples,…
-
0
votes1
answer36
viewsQ: I can’t validate @Embeddable class attributes
I have validation problem in the Address class that is @Embeddable while trying to make a POST. When I put on null in the field nome that is of Pessoa for example, I can capture the custom message…
-
0
votes2
answers20
viewsQ: How to recover object by URI by passing parameter and showing Request Status
I’m learning to work with Spring REST, I can already recover object by URL in Postman, but in my URL if I pass a parameter e.g.: http://localhost:8080/categories/50 It shows as status 200 OK if you…
-
0
votes4
answers327
viewsQ: Doubt about how to generate random numbers
I’m doing an exercise in java. I managed to generate 6 random numbers, now sometimes the number is repeating. Someone could help me? Follows the code: public class MegaSenna { public static void…
javaasked dayson rodrigues 9