Return-Path: Delivered-To: apmail-db-ddlutils-dev-archive@www.apache.org Received: (qmail 25421 invoked from network); 17 Jul 2008 12:49:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jul 2008 12:49:53 -0000 Received: (qmail 12982 invoked by uid 500); 17 Jul 2008 12:49:52 -0000 Delivered-To: apmail-db-ddlutils-dev-archive@db.apache.org Received: (qmail 12968 invoked by uid 500); 17 Jul 2008 12:49:52 -0000 Mailing-List: contact ddlutils-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ddlutils-dev@db.apache.org Delivered-To: mailing list ddlutils-dev@db.apache.org Received: (qmail 12939 invoked by uid 99); 17 Jul 2008 12:49:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 05:49:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jul 2008 12:49:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 97044234C16D for ; Thu, 17 Jul 2008 05:49:31 -0700 (PDT) Message-ID: <1665937654.1216298971604.JavaMail.jira@brutus> Date: Thu, 17 Jul 2008 05:49:31 -0700 (PDT) From: "Rick Riemer (JIRA)" To: ddlutils-dev@db.apache.org Subject: [jira] Created: (DDLUTILS-215) Allow custom ModelChanges for altering a database MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Allow custom ModelChanges for altering a database ------------------------------------------------- Key: DDLUTILS-215 URL: https://issues.apache.org/jira/browse/DDLUTILS-215 Project: DdlUtils Issue Type: Improvement Components: Core (No specific database) Affects Versions: 1.0 Reporter: Rick Riemer Assignee: Thomas Dudziak Fix For: 1.1 The Platform interface allows for upgrading a database from one model to another using the getAlterModelSql() method. This method tries to automatically convert from one model to another. In some cases it may be useful to allow the caller to provide for the changes that should be processed instead of automatically determining the changes. I'm attaching a patch that makes the PlatformImplBase.processChanges() method available on the Platform interface, thereby allow the caller to apply a custom list of changes. Next to that, the patch introduces the CustomChange interface, through which the caller can define custom changes (e.g.: executing custom SQL statements). This patch may also fix #DDLUTILS-213 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.