Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 13597 invoked from network); 5 Mar 2006 21:40:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Mar 2006 21:40:01 -0000 Received: (qmail 49278 invoked by uid 500); 5 Mar 2006 21:40:47 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 49245 invoked by uid 500); 5 Mar 2006 21:40:47 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 92310 invoked by uid 99); 5 Mar 2006 17:34:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Message-ID: <1409322596.1141580020197.JavaMail.jira@ajax.apache.org> Date: Sun, 5 Mar 2006 18:33:40 +0100 (CET) From: "Thomas Dudziak (JIRA)" To: ojb-dev@db.apache.org Subject: [jira] Resolved: (OJB-73) generate onDelete="cascade" for foreign-key element if auto-delete is set to true for collection descriptor In-Reply-To: <553093184.1126783374401.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/OJB-73?page=all ] Thomas Dudziak resolved OJB-73: ------------------------------- Fix Version: 1.0.5 1.1 CVS Resolution: Fixed Assign To: Thomas Dudziak Fixed in the 1.0.x branch and in HEAD, though with separate attributes foreignkey-on-delete/foreignkey-on-update. > generate onDelete="cascade" for foreign-key element if auto-delete is set to true for collection descriptor > ----------------------------------------------------------------------------------------------------------- > > Key: OJB-73 > URL: http://issues.apache.org/jira/browse/OJB-73 > Project: OJB > Type: New Feature > Components: XDoclet module > Versions: 1.0.3 > Reporter: Maksimenko Alexander > Assignee: Thomas Dudziak > Fix For: 1.0.5, 1.1 CVS > > I specify auto-delete=true in my collection descriptor > /** > * @ojb.collection element-class-ref="com.esaya.webmail.datamodel.folder.mail.EmailMessage" foreignkey="mailFolderId" > * database-foreignkey="false" proxy="true" collection-class="org.apache.ojb.broker.util.collections.ManageableArrayList" > * auto-delete="true" auto-update="false" proxy="true" > */ > private List content; > and generate database schema using Xdoclet > > > > > > but got the following > > > > so attribute onDelete="cascade" isn't genereted -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org