Profile cover photo
Profile photo
Victor Magalhães
About
Victor's posts

Post has attachment

Post has attachment
Relaxing...

Post has attachment
Great!!!
I did not read the JPA documentatation, but the concept of "MERGE" is ... well... not clear at all. If I have an entity A, that has a collection of entities B and the relationship beetwen them is not marked as "CascadeType.MERGE" in A, then when I make some update in a B child of A using A as a link (a.bCollection.get(0).setName = "Test") that will not be propagated to the database (b will not be updated). Well, I'm supposing that happened inside a transaction, for sure. 

The question/comment is: MERGE has two concepts! One is related with a detached entity being atached (and updated in the database), and another is the concept of propagating updates of "child" entities. 

Do am I wrong? Is this a so complex concept?

Post has attachment
Som muito bom... Lounge isso? Chill out?

Post has attachment
Photo

Post has attachment
Great!

Post has attachment
Gostei da proposta. Difícil vai ser acompanhar o andamento de cada projeto desses no futuro.
Wait while more posts are being loaded