Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 32702 invoked from network); 4 Aug 2008 06:04:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Aug 2008 06:04:08 -0000 Received: (qmail 18746 invoked by uid 500); 4 Aug 2008 06:04:06 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 17883 invoked by uid 500); 4 Aug 2008 06:04:04 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 17862 invoked by uid 99); 4 Aug 2008 06:04:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Aug 2008 23:04:04 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 06:03:17 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4334D234C194 for ; Sun, 3 Aug 2008 23:03:44 -0700 (PDT) Message-ID: <43895311.1217829824274.JavaMail.jira@brutus> Date: Sun, 3 Aug 2008 23:03:44 -0700 (PDT) From: "Frank Hampshire (JIRA)" To: issues@commons.apache.org Subject: [jira] Closed: (DBUTILS-46) CloneHelper does not clone onDelete or onUpdate on ForeignKey objects In-Reply-To: <1260755160.1217817584297.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DBUTILS-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Frank Hampshire closed DBUTILS-46. ---------------------------------- Resolution: Invalid Meant to be raised against DDLUtils not DBUtils > CloneHelper does not clone onDelete or onUpdate on ForeignKey objects > --------------------------------------------------------------------- > > Key: DBUTILS-46 > URL: https://issues.apache.org/jira/browse/DBUTILS-46 > Project: Commons DbUtils > Issue Type: Bug > Affects Versions: 1.2 > Reporter: Frank Hampshire > Fix For: 1.2 > > > When CloneHelper clones a foreign key, it does not set the onDelete and onUpdate to the the created ForeignKey. > The solution to this seems simple enough: add > result.setOnDelete(source.getOnDelete()); > result.setOnUpdate(source.getOnUpdate()); > to the clone method for ForeignKey objects -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.