Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29293AA9E for ; Fri, 7 Oct 2011 20:16:29 +0000 (UTC) Received: (qmail 93682 invoked by uid 500); 7 Oct 2011 20:16:29 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 93658 invoked by uid 500); 7 Oct 2011 20:16:28 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 93650 invoked by uid 99); 7 Oct 2011 20:16:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 20:16:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of davelamy@gmail.com designates 74.125.82.171 as permitted sender) Received: from [74.125.82.171] (HELO mail-wy0-f171.google.com) (74.125.82.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Oct 2011 20:16:21 +0000 Received: by wyh13 with SMTP id 13so6950356wyh.16 for ; Fri, 07 Oct 2011 13:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=s0AbUbf8gpALfm/kTiSRa6bwcyBkPFfMb0Mz2uz5KJQ=; b=uJHbSQR/cd3FRI7AOMToNc25ELbZTgaMfUsc7QQTzz6MHjmkvPvsA/tsqrMo7gtFOH exAqAvn4Be08IhdQfVodrnoIEmsY07Ht9aDv1XCFXs46aNX7BbiBvHVfjPT0cF7CXIvG VuZjYS+1R57vMy+XANtXxu6Jecqi/KccLJsAY= Received: by 10.216.80.36 with SMTP id j36mr2820811wee.89.1318018561139; Fri, 07 Oct 2011 13:16:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.167.72 with HTTP; Fri, 7 Oct 2011 13:15:41 -0700 (PDT) In-Reply-To: References: From: Dave Lamy Date: Fri, 7 Oct 2011 14:15:41 -0600 Message-ID: Subject: Re: DBSchema migration To: user@cayenne.apache.org Content-Type: multipart/alternative; boundary=001485f4231c24e60004aebb1cc1 X-Virus-Checked: Checked by ClamAV on apache.org --001485f4231c24e60004aebb1cc1 Content-Type: text/plain; charset=ISO-8859-1 I've got runtime schema sync integrated into our codebase. It's essentially a matter of updating the Cayenne model at runtime (via manipulation of DataMap members) and then using the ExecutingMergerContext to apply the DB schema changes. Dave On Fri, Oct 7, 2011 at 1:16 PM, John Huss wrote: > Can Cayenne do database schema migration (like adding a column) at runtime > or just via the modeler app? > > Thanks, > John > --001485f4231c24e60004aebb1cc1--