10 Replies Latest reply on Oct 28, 2005 4:48 PM by Emmanuel Bernard

    JBoss-EJB3.0-Cascade delete doesn't work!

    kourosh bagheri Newbie

      I have two CMP entities, which are mapped to a mysql schema:



      2. Entity:


      The Order Entity has a field with a @OneToMany Realtion.

      I am trying to use the jboss - ejb3.0- cascade delete function, to delete the orderItems, when an order object is deleted, but it dosent work!

      I found an older posting, in which one said, that not every database supports "cascade delete".
      Was he right?