db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Riemer (JIRA)" <j...@apache.org>
Subject [jira] Created: (DDLUTILS-215) Allow custom ModelChanges for altering a database
Date Thu, 17 Jul 2008 12:49:31 GMT
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.


Mime
View raw message