please refer to the documentation: http://jakarta.apache.org/ojb/tutorial3.html#setting%20load-,%20update-%20and%20delete-cascading
Rajesh Bahtia wrote: > How can I achieve the effect of deleting all child records automatically , > when the parent is deleted. > > I get an error when adding the Parent object saying "Cannot delete parent > bcs there are child records" accessing it. > > Thanks > Rajesh > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
