Hi all,

in an example schema-project.xml file I saw the following content:

        <foreign-key foreignTable="category" onupdate="cascade" ondelete="set
null">


In the corresponding DTD
(http://java.apache.org/turbine/dtd/database.dtd) for the schema there
is only the "foreignTable" attribute defined

<!ELEMENT foreign-key (reference+)>
<!ATTLIST foreign-key 
  foreignTable CDATA #REQUIRED
>

Where are the "onupdate" and "ondelete" attributes ?
Does Torque supports ondelete / onupdate constraints ?
If yes, does Torque supports ondelete / onupdate constraints even for
RDBMS like MySql?

--
Ernst Leonhard

mailto:[EMAIL PROTECTED]
_______________________________________________________________
SecureNet GmbH
Intranet und Internet Solutions         Tel:  +49 89/32133-654
Frankfurter Ring 193a                   Fax:  +49 89/32133-699
80807 München, Germany                  http://www.secure-net.de


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to