Posts by Fabio Barros • 27 points
3 posts
-
1
votes1
answer75
viewsA: Save daughter entity against Manytoone Hibernate Jpa
I figured it out that way. In the Request class the relationship was like this: @OneToMany(cascade = CascadeType.ALL) @JoinColumn(name = "id_pedido") private List<PedidoServico> pedidoServicos…
-
0
votes1
answer75
viewsQ: Save daughter entity against Manytoone Hibernate Jpa
I have 3 entities: Request, Request and Service; There is a many-to-many relationship between the Request and Service entities so I created the third table; I would like to save a Request and also…
-
0
votes1
answer47
viewsQ: Manytomany jpa - Spring Save Relationship Entity Data
Good night, you guys! I have 2 classes: Services and Order. Services contain name and value/time. Request contains attributes: valueBrut, valueLike, percentualTime , user and a list of services.…