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: Error message -using DdlUtils DatabaseToDdlTask
Date Fri, 19 Jan 2007 03:02:56 GMT
On 1/18/07, sm@bonn.iz-soz.de <sm@bonn.iz-soz.de> wrote:

> I got the following Console message in eclipse after doing "Step 4:
> 'MyOwnDerbyDatabase' -- Export Schema and Data" of
> "Using DdlUtils to Migrate Databases to Derby" (see
> http://db.apache.org/derby/integrate/db_ddlutils.html)
>
> Console message in eclipse:
>
> "Buildfile: C:\Programme\eclipse
> 3.2\eclipse\workspace\MigrateDatabaseToDerby\ddlutils\build.xml
> export-source-db:
> [databaseToDdl] Written schema to C:\Programme\eclipse
> 3.2\eclipse\workspace\MigrateDatabaseToDerby\ddlutils\db-schema.xml
>
> C:\Programme\eclipse
> 3.2\eclipse\workspace\MigrateDatabaseToDerby\ddlutils\build.xml:43:
> org.apache.ddlutils.DatabaseOperationException: Error while performing a
> query"
>
> - end of console message -
>
> The DdlUtils DatabaseToDdlTask for "<writeSchemaToFile
> outputFile="db-schema.xml"/>" was successful, everything correct.
> But the "<writeDataToFile outputFile="data.xml"/>" produces the
> error/DatabaseOperationException above.
>
> How can I get(debug) the exact reason for that error?

You can set the verbosity parameter of the databaseToDdlTask
(http://db.apache.org/ddlutils/ant/index.html#parameter-verbosity) to
debug to get more verbose info.

Tom

Mime
View raw message