0 Replies Latest reply: Jan 9, 2013 7:03 AM by 983781 RSS

    Best practice when doing large cascading updates

      Hello all

      I am looking for some help with tackling a fairly large cascading update.
      I have an object tree that needs to be merged using JPA and Toplink.
      Each update consists of 5-10000 objects with a decent depth as well.

      Can anyone give me some pointers/hints towards a Best practice for doing this? Looping though each object with JPA's merge takes minutes to complete, so i would rather not do that.

      I have never actually used TopLinks own API before, so i am especially interested if TopLink has an effective way of handling this, preferably with a link to some related reading material?

      Note that i have a somewhat duplicate question on (Noting for good forum practice)