• Post Reply Bookmark Topic Watch Topic
  • New Topic

Merge deached collection

 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

I have class A, which contain collection of B (cascade=all)

in detach mode i remove elmement from the collection and then call to
entitymanager.merge(a)

The element is not removed.

I think there is a JIRA about it, but it was supposed to be fixed.

Thank you
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!