0 Replies Latest reply on Jan 27, 2006 11:00 AM by heico van de

    Cascade delete parent->children with M:N relation ship (usin

    heico van de Newbie

      For my persistence layer I now trying to use CMP entitybeans. However it seems not to be possible to create a cascade delete for a M:N relation ship.
      An example of a M:N relation can be found at http://technology.amis.nl/blog/?p=98
      Using xdoclet in @ejb.relation cascade-delete can be set. But with an M:N an error is shown when deploying in Jboss(4.0.1). Something with: "multiplicity must be One" (also @jboss.relation batch-cascade-delete must be set)
      Does someone know a solutions for casecading delete with M:N relationships