0 Replies Latest reply on Sep 26, 2003 1:30 PM by wwheeler1464

    Cascade delete with a single table

    wwheeler1464

      Hi all,

      I am trying to do a cascade delete (via the EJB remove() method) on an object that has a foreign key reference to other objects in the same table. (It's a tree node, and each node has a reference to its parent.) Problem is that the delete order is wrong, so I get "Entity not found" exceptions. Has anybody else run into this? What can be done?

      Thanks,
      Willie