0 Replies Latest reply on Oct 23, 2002 5:36 AM by Bernie Meyer-Willner

    Two CMP beans mapped on the same table

    Bernie Meyer-Willner Newbie


      is it possible (with CMP in general, and JBoss 3.0.3 in particular) to have two CMP entity beans which are mapped to the same database table. I have a situation like this and it works fine, except when I try to remove one of the beans. Both have a one-to-one relationship with another bean which is their parent. I have a cascade delete specified on them, so if I remove the parent the child should get removed too. However, it doesn't. If I remove one of the beans from the ejb-jar and dd all is fine.

      What's wrong here?