Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 87484 invoked from network); 16 Mar 2010 05:08:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Mar 2010 05:08:01 -0000 Received: (qmail 70717 invoked by uid 500); 16 Mar 2010 05:08:01 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 70516 invoked by uid 500); 16 Mar 2010 05:08:00 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 70509 invoked by uid 99); 16 Mar 2010 05:08:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 05:08:00 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.220.226] (HELO mail-fx0-f226.google.com) (209.85.220.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Mar 2010 05:07:54 +0000 Received: by fxm26 with SMTP id 26so214673fxm.15 for ; Mon, 15 Mar 2010 22:07:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.63.193 with SMTP id c1mr5912920fai.80.1268716052912; Mon, 15 Mar 2010 22:07:32 -0700 (PDT) X-Originating-IP: [193.206.186.101] In-Reply-To: References: Date: Tue, 16 Mar 2010 06:07:32 +0100 Message-ID: <1f5d398f1003152207p46d5dc12g5af672b19de5edb3@mail.gmail.com> Subject: Re: how to cascade on update? Not possible? From: Gabriele Kahlout To: Derby Discussion Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable ya. Also SQLite does. I tried to look where to submit feature requests (not bug reports), but failed. Any links? 2010/3/16, Rick Genter : > On 3/15/10 6:46 PM, "Ronald Rudy" wrote: > >> I believe you want to look at this: >> http://db.apache.org/derby/manuals/reference/sqlj32.html >> >> Specifically >> the >> referential ON UPDATE in constraints. The only "ON UPDATE" actions that >> are >> allowed are "NO ACTION" and "RESTRICT"; Derby does not appear to support >> cascading updates. You can log a feature request, I believe there might >> already be one for it based on this thread: >> http://old.nabble.com/ON-UPDATE-CASCADE-in-derby-td1633870.html >> >> Incidentally I do believe that MySQL supports on update cascade with its >> INNODB engine, and I do think MS SQL does as well >> (http://msdn.microsoft.com/en-us/library/aa275462(SQL.80).aspx) >> > Thank you for the pointer. I learn something new every day ;-). > -- > Rick Genter > Principal Software Engineer > Silverlink Communications > rgenter@silverlink.com > www.silverlink.com > Office (781) 583-7145 > Mobile (408) 398-7006 > > This e-mail, including attachments, may include confidential and/or > proprietary information, and may only be used by the person or entity to > which it is addressed. If the reader of this e-mail is not the intended > recipient or his or her authorized agent, the reader is hereby notified > that any dissemination, distribution or copying of this e-mail is > prohibited. If you have received this e-mail in error, please notify the > sender by replying to this message and delete this e-mail immediately > > --=20 Regards, K. Gabriele --- unchanged since 25/1/10 --- P.S. Unless a notification (LON), please reply either with an answer OR with " ACK" appended to this subject within 48 hours. Otherwise, I might resend. In(LON, this) =E2=88=A8 In(48h, TimeNow) =E2=88=A8 =E2=88=83x. In(x, MyInbo= x) =E2=88=A7 IsAnswerTo(x, this) =E2=88=A8 (In(subject(this), subject(x)) =E2=88=A7 In(ACK, subject(x)= ) =E2=88=A7 =C2=ACIsAnswerTo(x,this)) =E2=87=92 =C2=ACIResend(this). Also note that correspondence may be received only from specified a priori senders, or if the subject of this email ends with a code, eg. -LICHT01X, then also from senders whose reply contains it. =E2=88=80x. In(x, MyInbox) =E2=87=92 In(senderAddress(x), MySafeSenderList)= =E2=88=A8 (=E2=88=83y. In(y, subject(this) ) =E2=88=A7 In(y,x) =E2=88=A7 isCodeLike(y, -LICHT01X) = ).