On 1/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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
