db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak" <tom...@gmail.com>
Subject Re: DDL Utils...
Date Mon, 15 Oct 2007 19:44:41 GMT
On 10/10/07, satz <satyam.bhatnagar@gmail.com> wrote:

> Hi Thomas,
> Thanks for your reply,
>          I'd tried this option also, but since your method is overriden in
> the Builder classes( MSSQL/ORACLE), it call the method of derived classes
> and clears off the list before exits and it doesnt go back. It was initially
> very easy to have requiresFullRebuild and canMigrateData field sets when one
> recieved a ColumnRequiredChange, but this didnt help as explained above. So
> I did was added UPDATE DML script just before any of the DDL is passed to
> processChanges() method under alterDatabase() as I was not relying on the
> table recreation process. Since this worked for me I've implemented it.
>  By the way there is an getUpdateSql() method in SQLBuilder, which also
> needs modification in case one needs to change/update value of the same
> column, the map 'values' doesnt help :( discovered this in my
> ColumnRequiredChange mdofication.

I forgot to ask, could you perhaps file a bug in JIRA for this, and
attach a sample database schema that shows the problem ?

thanks,
Tom

Mime
View raw message