db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fox (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TORQUE-131) remove "none" value of the attributes onUpdate and onDelete of the foreign-key element
Date Mon, 24 Sep 2012 07:08:29 GMT

     [ https://issues.apache.org/jira/browse/TORQUE-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Fox closed TORQUE-131.
-----------------------------

    
> remove "none" value of the attributes onUpdate and onDelete of the foreign-key element
> --------------------------------------------------------------------------------------
>
>                 Key: TORQUE-131
>                 URL: https://issues.apache.org/jira/browse/TORQUE-131
>             Project: Torque
>          Issue Type: Sub-task
>          Components: Generator
>    Affects Versions: 4.0-beta1
>            Reporter: Thomas Fox
>            Assignee: Thomas Fox
>             Fix For: 4.0-beta1
>
>
> In Torque 3.3, the description of the attribute idMethod is
> <!ATTLIST foreign-key
>   ...
>   onUpdate (cascade|setnull|restrict|none) "none"
>   onDelete (cascade|setnull|restrict|none) "none"
> >
> There is no reason to have the explicit value "none". As with other attributes (e.g.
attribute "default" on the element "column"), leaving the attribute empy is more intuitive
than having the string value "none".
> Therefore, the suggestion would be to change the definition to
>   onUpdate (cascade|setnull|restrict) #IMPLIED
>   onDelete (cascade|setnull|restrict) #IMPLIED
> or its xsd equivalent.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message