Bugs item #794554, was opened at 2003-08-25 10:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=794554&group_id=22866

Category: JBossCMP
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Geert Vandensteen (geertvds)
Assigned to: Nobody/Anonymous (nobody)
Summary: parent bean gets deleted before child

Initial Comment:
On JBoss 3.2.1, I have specified two Entity beans with 
CMP, and with a one to many relationship between the 
two, and with a cascade delete for the children in case 
the parent gets deleted.

Upon deleting the parent, the parent gets removed 
before the children, and the value of the parent in the 
child record becomes 'null'.
This is a problem, because in the remove() method of my 
child bean, I need to retrieve the id of the parent to do 
some logging, before the child gets completely removed.
IMHO the parent should be deleted after the children are 
deleted.

Platform is Win2000 with a MySQL 4.0.14 database.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=794554&group_id=22866


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to