You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by la...@new-era-of-networks.com on 2002/11/18 08:55:07 UTC

[juddi-Users] Cascading Delete

I noticed that the cascading delete has been removed ( v0.6.1) from the
create table syntax,  however the declarative REFERENCES clause remains (
i.e. TModelCategoryTable ). I do not see in code where TModelCategoryTable
is cleaned up before a TModelTable row is deleted. Is the intent that
cascading deletes will be handled through code rather than through
declarative SQL syntax?

Lance Waterman
Sybase - eBD




RE: [juddi-Users] Cascading Delete

Posted by Steve Viens <sv...@steveviens.com>.
Lance, you are correct. The JDBCDataStore handles cascading deletes
within the code. It's implemented this way due to the fact that MySQL
does not support cascade delete (MySQL Max does - but it's not the most
commonly implemented version of MySQL).

The TModel issue you've mentioned sounds like a bug. I'll take a look
today.

Steve

Steve Viens
Senior Consultant
InflexionPoint, LLC
www.inflexionpoint.com
steve@inflexionpoint.com
603.682.5230

-----Original Message-----
From: juddi-users-admin@lists.sourceforge.net
[mailto:juddi-users-admin@lists.sourceforge.net] On Behalf Of
lance.waterman@new-era-of-networks.com
Sent: Monday, November 18, 2002 10:52 AM
To: juddi-users@lists.sourceforge.net
Subject: [juddi-Users] Cascading Delete


I noticed that the cascading delete has been removed ( v0.6.1) from the
create table syntax,  however the declarative REFERENCES clause remains
( i.e. TModelCategoryTable ). I do not see in code where
TModelCategoryTable is cleaned up before a TModelTable row is deleted.
Is the intent that cascading deletes will be handled through code rather
than through declarative SQL syntax?

Lance Waterman
Sybase - eBD



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
juddi-users mailing list
juddi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/juddi-users