Posts by Smiderle • 131 points
2 posts
-
1
votes0
answers221
viewsQ: Jsonbackreference and Jsonmanagedreference, bidirectional between two classes
I have the following Dtos public class UserDTO { private String name; @JsonManagedReference("phone") private UserPhoneDTO phone; } public class PhoneDTO { private String number;…
-
2
votes2
answers186
viewsQ: DB Dinamico Mongodb
I’m starting a web project and I’m thinking about using java with mongoDB and Spring data. In this web project, each user would have their own database. That is, when the user logs in (this yes…