Remove EJBObject and all referenced EJBObjects

We have an EJBObject (Order) that has references to other EJBObjects (OrderLines). When we try to remove the Order we first have to remove the OrderLines manually. Does anybody know if it is possible to automatically remove all referenced EJBObjects together with an EJBObject?
[291 byte] By [gjkreeft] at [2007-9-26 1:38:42]
# 1
Hi,This is part of the EJB 2.0 specs. It is available in the J2EE 1.3 beta, where you can define ejb relationships and wether an ejb is dependent on another one.In the EJB 1.1 compilant application servers you'll still have to do it yourself.Regards,Kurt.
leukbr at 2007-6-29 2:26:56 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...