Return-Path: Delivered-To: apmail-incubator-cayenne-user-archive@locus.apache.org Received: (qmail 85869 invoked from network); 6 Dec 2006 15:30:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2006 15:30:24 -0000 Received: (qmail 69708 invoked by uid 500); 6 Dec 2006 15:30:32 -0000 Delivered-To: apmail-incubator-cayenne-user-archive@incubator.apache.org Received: (qmail 69689 invoked by uid 500); 6 Dec 2006 15:30:32 -0000 Mailing-List: contact cayenne-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cayenne-user@incubator.apache.org Delivered-To: mailing list cayenne-user@incubator.apache.org Received: (qmail 69680 invoked by uid 99); 6 Dec 2006 15:30:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Dec 2006 07:30:32 -0800 X-ASF-Spam-Status: No, hits=4.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [209.191.69.128] (HELO web33013.mail.mud.yahoo.com) (209.191.69.128) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 06 Dec 2006 07:30:20 -0800 Received: (qmail 95277 invoked by uid 60001); 6 Dec 2006 15:29:59 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type; b=2JF1W1ZN1DSfrmXke086wg3wZl1gBEZqsGMxiajSfMq9Ba9OcIsiEy3YNcwP20KLB1rb6BkR7JpuMTbGQDuwpDgLxvRcKKI7yt5hEkarHCOTmJefMQZwk5EQFQ+vJBu8fgBlwvUBrIwoxkaqunplrUQjBbkRMM8lbdtnUhNZ0V8= ; Message-ID: <20061206152959.95275.qmail@web33013.mail.mud.yahoo.com> Received: from [195.101.39.67] by web33013.mail.mud.yahoo.com via HTTP; Wed, 06 Dec 2006 07:29:59 PST Date: Wed, 6 Dec 2006 07:29:59 -0800 (PST) From: Yann Puech Subject: Re : best practice for handling database schema changes To: cayenne-user@incubator.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-889991041-1165418999=:95078" X-Virus-Checked: Checked by ClamAV on apache.org --0-889991041-1165418999=:95078 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable I don't want to receive this email anymore !!!=0A =0AThanks !=0A=0A=0A-----= Message d'origine ----=0ADe : Tobias SCHOESSLER =0A=C0 : cayenne-user@incubator.apache.org=0AEnvoy=E9 le : Jeudi, 30 = Novembre 2006, 15h59mn 50s=0AObjet : best practice for handling database sc= hema changes=0A=0A=0Ahi, =0AWhat is the best practice for handling changes = to the database schema once a cayenne mapping was created? =0AWe use the 'r= everse engineer from database' feature to create an initial mapping. But th= en we usually have to do manual changes like map some pks, add flattened re= lationships, etc. =0AIf then the database schema needs to be changed we usu= ally have a problem as 'reverse engineer from database' overwrites everythi= ng. There seems to be the possibility to replace only selected tables but i= f you do this the relationships are messed up. Is there a way to merge the= changes with the current model/mapping? =0A=0Athanks =0A=0ATobias=0A=0A=0A= =09=0A=0A=09=0A=09=09=0A___________________________________________________= ________________________ =0AD=E9couvrez une nouvelle fa=E7on d'obtenir des = r=E9ponses =E0 toutes vos questions ! =0AProfitez des connaissances, des op= inions et des exp=E9riences des internautes sur Yahoo! Questions/R=E9ponses= =0Ahttp://fr.answers.yahoo.com --0-889991041-1165418999=:95078--