db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Bookey" <ben.boo...@gistec-online.de>
Subject mySQL --> CASCADE DELETE
Date Mon, 20 Sep 2004 08:23:40 GMT
Dear List,

I am trying to create a cascade delete foreign key reference for mySQL
database sql script, using Torque 3.0.2, but it doesnt generate the correct
sql.

I have taken a look at the mySQL template vm velocity files, but can not
find any mention of "cascade delete".

<foreign-key foreignTable="main" onDelete="cascade">
  <reference
		local="ID_main"
		foreign="ID_main"/>
</foreign-key>


Could anyone tell me if this is supported by Torque and the mysql db driver.

regards

Ben Bookey


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message