0 Replies Latest reply on Aug 13, 2003 3:19 AM by jhamedalavi

    Mysql cascade delete

    jhamedalavi Newbie

      this is one part of my ejb-jar file :
      <ejb-relation >
      <ejb-relation-name> CourseOffering- MessageBoard-Relation
      </ejb-relation-name>

      <ejb-relationship-role >
      <ejb-relationship-role-name>
      relation-for-MessageBoard
      </ejb-relationship-role-name>
      Many
      <cascade-delete/>
      <relationship-role-source >
      <ejb-name>MessageBoard</ejb-name>
      </relationship-role-source>
      <cmr-field >
      <cmr-field-name>
      courseOffering
      </cmr-field-name>
      </cmr-field>
      </ejb-relationship-role>

      </ejb-relation>

      but in my mysql databse these tables havent cascade delete.
      and in my application when i delete one entity cascading was not implied.
      what can i do ?