Return-Path: X-Original-To: apmail-db-torque-dev-archive@www.apache.org Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 17C30D509 for ; Mon, 24 Sep 2012 07:08:30 +0000 (UTC) Received: (qmail 74566 invoked by uid 500); 24 Sep 2012 07:08:29 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 74527 invoked by uid 500); 24 Sep 2012 07:08:29 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 74494 invoked by uid 99); 24 Sep 2012 07:08:29 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2012 07:08:29 +0000 Date: Mon, 24 Sep 2012 18:08:29 +1100 (NCT) From: "Thomas Fox (JIRA)" To: torque-dev@db.apache.org Message-ID: <1526996792.115580.1348470509449.JavaMail.jiratomcat@arcas> Subject: [jira] [Closed] (TORQUE-131) remove "none" value of the attributes onUpdate and onDelete of the foreign-key element MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 > ... > 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