I'm trying to save instance and this instance has an aggregation with another instance..the problem isi can't change the cascade of the relation or synchronize the other entity before synchronizing the parent entity..is there another way to do so ?? thank you,
There is no other way. Hibernate can only flush entities if you explicitly merge/persist them or through cascades.
2.1m questions
2.1m answers
60 comments
57.0k users