db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Li" <allanju...@gmail.com>
Subject Re: What kind of sql will I get from platform.getAlterTablesSql?
Date Fri, 21 Apr 2006 07:28:53 GMT
Yes, you are right. I need a platform to get those sql not just a database
model which can be read in from xml. This also means that I can't get sql of
the differences between two xml schemas, have to create a live database from
xml, and then get the sql from the platform. Is that right?
Can we go one step further, to get the sql (whatever type supported) from
two xml schemas straight away?

On 4/21/06, Thomas Dudziak <tomdzk@gmail.com> wrote:
> On 4/21/06, Jun Li <allanjunli@gmail.com> wrote:
> Well, if you use it via the API, then you already have a specific
> platform, e.g. the Oracle platform or the DB2 platform, and thus
> you'll get the SQL for this platform.
> And if you use it via the Ant task, then you have to specify the
> platform via a corresponding attribute (databaseType at the task),
> otherwise you'll get an error.
> Tom


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message