Hello Ingo,

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.

alex

Monday, July 21, 2003, 12:14:35 PM, Ingo Bruell wrote:

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

IB> Hi Alex,

>> it might be really confusing.
>> 
>> If you need parent-child relationships, where child is removed when
>> its parent is being removed, you should use cascade-delete. This is by
>> the spec.
>> Foreign key constraints are used only for database schema generation.

IB> So i have to check for myself if depending objects exists and reject
IB> removing ?

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/AwUBPxug6o/nxkgWnuX8EQKNzACgsyvWLJcF+6R3m2An0vduXh6ifX8AoP4P
IB> Evc2n5MNEG6gIRjtaE0hZts5
IB> =OavW
IB> -----END PGP SIGNATURE-----



-------------------------------------------------------
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