Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 36988 invoked from network); 31 May 2007 21:27:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2007 21:27:36 -0000 Received: (qmail 74634 invoked by uid 500); 31 May 2007 21:27:40 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 74487 invoked by uid 500); 31 May 2007 21:27:40 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 74478 invoked by uid 500); 31 May 2007 21:27:40 -0000 Delivered-To: apmail-incubator-open-jpa-dev@incubator.apache.org Received: (qmail 74474 invoked by uid 99); 31 May 2007 21:27:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 14:27:40 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 14:27:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 910DD714180 for ; Thu, 31 May 2007 14:27:15 -0700 (PDT) Message-ID: <24684759.1180646835584.JavaMail.jira@brutus> Date: Thu, 31 May 2007 14:27:15 -0700 (PDT) From: "Kevin Sutter (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Resolved: (OPENJPA-248) ForeignKey cascade delete action not working In-Reply-To: <19393347.1180639815611.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/OPENJPA-248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Sutter resolved OPENJPA-248. ---------------------------------- Resolution: Fixed Fixed via svn revision 543265. > ForeignKey cascade delete action not working > -------------------------------------------- > > Key: OPENJPA-248 > URL: https://issues.apache.org/jira/browse/OPENJPA-248 > Project: OpenJPA > Issue Type: Bug > Components: jdbc > Affects Versions: 0.9.7 > Reporter: Kevin Sutter > Assignee: Kevin Sutter > Fix For: 1.0.0 > > > The code in parseForeignKey is not correct. It is accidentally using the deleteAction setting for both the delete and update action settings. This results in invalid SQL being generated (at least for DB2 since it doesn't like cascading updates). This report will be used to correct these settings. It looks like a simple case of cut-and-paste error. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.