declare relationships in cmp mapping xml will cause what happen? eg: student & class are 2 tables,mapping into 2 cmps, in student cmp,declare a 1-1 relationship with class when insert a record into the student table,what the relationship will done? what about update,delete? :roll:
Relationship mapping and behaviour is expained very well in the EJB specification. For the best way to understand all the permutations of this (for 1-1, 1-m, m-m) and the different options that can be used I would recommend grabbing the EJB 2 spec and looking up the relationships section under CMP.
The Eagle sneers at the Peacock<p>Systems Administrator<br />OrderWare Solutions Ltd<br /><a href="http://www.orderware.net" target="_blank" rel="nofollow">http://www.orderware.net</a>