Yes, exactly.

10.3.4.1 Remove methods
"When the remove method is invoked on an entity object, the container
must invoke the entity Bean Provider’s ejbRemove() method as described
in Section 10.5.3. After the bean provider’s ejbRemove() method
returns (and prior to returning to the client), the Container must
remove the entity object from all relationships in which it
participates, and then remove its persistent representation."

alex

Monday, July 21, 2003, 2:08:43 PM, Ingo Bruell wrote:

IB> -----BEGIN PGP SIGNED MESSAGE-----
IB> Hash: SHA1

IB> Hello Alex,

>> yes, you have to check it yourself. If the schema you use has database
>> constraints, then the db won't let you remove the parent.

IB> But Jboss just removes the link between the parent and the child by erasing
IB> the attribute of the table (for example address_id) and then removes the parent
IB> from the table. Is this the correct behavior ?


IB> best regards

IB> Ingo Bruell

IB> - - ---
IB> <[EMAIL PROTECTED]>
IB> <ICQ# 40377720>
IB> Oldenburg  PGP-Fingerprint: CB01 AE12 B359 87C4 BF1C  953C 8FE7 C648 169E E5FC
IB> Germany    PGP-Public-Key available at pgpkeys.mit.edu

IB> -----BEGIN PGP SIGNATURE-----
IB> Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

IB> iQA/AwUBPxu7i4/nxkgWnuX8EQLgyQCfez0vfANeYbiebdDi1LOO6XQZ+ugAn1W9
IB> eP6leX+DC1BRS/jMdjs62SGS
IB> =WtZe
IB> -----END PGP SIGNATURE-----




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



-------------------------------------------------------
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/345/0
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to