Return-Path: Delivered-To: apmail-continuum-dev-archive@www.apache.org Received: (qmail 38067 invoked from network); 19 Sep 2008 18:18:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 18:18:15 -0000 Received: (qmail 41551 invoked by uid 500); 19 Sep 2008 18:18:12 -0000 Delivered-To: apmail-continuum-dev-archive@continuum.apache.org Received: (qmail 41512 invoked by uid 500); 19 Sep 2008 18:18:12 -0000 Mailing-List: contact dev-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list dev@continuum.apache.org Received: (qmail 41493 invoked by uid 99); 19 Sep 2008 18:18:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 11:18:11 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wsmoak@gmail.com designates 209.85.217.16 as permitted sender) Received: from [209.85.217.16] (HELO mail-gx0-f16.google.com) (209.85.217.16) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 18:17:13 +0000 Received: by gxk9 with SMTP id 9so1077055gxk.2 for ; Fri, 19 Sep 2008 11:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=hlsuTa8fvTmmV2qrMq1gqS9pThkRj4wc8Soa6NS2WQU=; b=hwkPi/WRJuk9ljuFowSVrcCGi1v/r7LfHTOFyzOd5VEOUTCJgROY0O88R01YefUkFe CCCekBh5C6F1OGf2NZ4uQzoOr1L1UU2li5ha4RjL6nIaOyiMi2IEba16tyCVIKKaDT4c 5muH1r9mA6hL6D1xp4VUaYviZvLI1hhvdiTVg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=CQ20ZuKylGxjrFV2pwWSFCFMg6V/mRJjb65muqKi4sRZAWpzP7A6Ub1hFsWO4Twtef dGxTOqSElzpgOxwNujK4e61WpLko8FKbjLD0+0psEIa+1ttxFkNkMmFQrizU1u1TWKVU 5eYenqn/jhHllCUmfuPViygdqew9ppS5/UnuA= Received: by 10.150.192.7 with SMTP id p7mr3541130ybf.158.1221848265521; Fri, 19 Sep 2008 11:17:45 -0700 (PDT) Received: by 10.150.138.5 with HTTP; Fri, 19 Sep 2008 11:17:45 -0700 (PDT) Message-ID: Date: Fri, 19 Sep 2008 11:17:45 -0700 From: "Wendy Smoak" To: dev@continuum.apache.org Subject: Re: svn commit: r695183 - in /continuum/trunk: continuum-api/src/main/java/org/apache/continuum/dao/ continuum-api/src/main/java/org/apache/maven/continuum/ continuum-core/src/main/java/org/apache/maven/continuum/ continuum-model/src/main/mdo/ contin In-Reply-To: <748e286f0809191058s6adfde0dgfd25ea28aa215dd6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9948cb690809140940l18ead957u650fdb0946c5eb7@mail.gmail.com> <10c62ca80809141629o5b848b95je500f07e9809f411@mail.gmail.com> <748e286f0809191044i56e56956n471e392c872bbdb5@mail.gmail.com> <748e286f0809191058s6adfde0dgfd25ea28aa215dd6@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Sep 19, 2008 at 10:58 AM, Ken Liu wrote: > IMHO, even if some database fields are not mandatory, it is generally bad > practice not to migrate databases. You really don't want some people having > one schema and other users having a different schema - it just makes for > more consistency in deployment and less support issues, especially when > dealing with ORM tools. I'm guessing you haven't tried to migrate a Continuum database. :) The data management tools Need Work. You can't just export and import, even from the *same* version. After importing, you have to connect to the database and execute some SQL statements to fix things up before it will work. (The table that stores the next key values apparently doesn't get updated properly.) For the moment, it's preferable to be able to point a new Continuum instance at an old database, and let JPOX do whatever it does. (I think it does add the new fields, btw.) -- Wendy