You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by "Thomas Fischer (JIRA)" <ji...@apache.org> on 2009/11/08 12:54:32 UTC
[jira] Created: (TORQUE-131) reomove "none" value of the attributes
onUpdate and onDelete of the foreign-key element
reomove "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
Reporter: Thomas Fischer
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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
[jira] Updated: (TORQUE-131) reomove "none" value of the attributes
onUpdate and onDelete of the foreign-key element
Posted by "Thomas Fischer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TORQUE-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Fischer updated TORQUE-131:
----------------------------------
Component/s: Generator
Affects Version/s: 4.0
> reomove "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
> Reporter: Thomas Fischer
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org
[jira] Resolved: (TORQUE-131) reomove "none" value of the
attributes onUpdate and onDelete of the foreign-key element
Posted by "Thomas Fischer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TORQUE-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Fischer resolved TORQUE-131.
-----------------------------------
Assignee: Thomas Fischer
Fix Version/s: 4.0
Resolution: Fixed
> reomove "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
> Reporter: Thomas Fischer
> Assignee: Thomas Fischer
> Fix For: 4.0
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org