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

Category: JBossCMP
Group: v3.2
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Geert Vandensteen (geertvds)
>Assigned to: Alexey Loubyansky (loubyansky)
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.

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

>Comment By: Alexey Loubyansky (loubyansky)
Date: 2003-08-26 13:53

Message:
Logged In: YES 
user_id=543482

C'est la spec. Please, check 10.3.4 Remove protocols of

EJB2.0 spec.

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

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