db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent ROCHE <laurent_ro...@yahoo.com>
Subject PB with SVN files ? [Was: Not much info with: "Could not parse or write data file" aka "The Saga continues"]
Date Wed, 03 Jan 2007 17:43:30 GMT
Hi Tom,

I've updated my DDL-Utils from the SVN repository.
I then tried to run the ant task with the verbosity parameter, and I got the following error:
===== screen dump =====
C:\apps\Ddlutils-test>ant import-derby
Buildfile: build.xml

import-derby:

BUILD FAILED
C:\apps\Ddlutils-test\build.xml:35: The <ddlToDatabase> type doesn't support the "verbosity"
attribute.

Total time: 1 second
===== End of screen dump =====


I have removed it and I got the same error for another parameter I have set (after reading
the new doc): useexplicitidentityvalues.
So I assume I am not picking up the right version from SVN !

What can I do ?

 
Cheers,
L@u
The Computing Froggy

----- Message d'origine ----
De : Thomas Dudziak <tomdzk@gmail.com>
À : ddlutils-user@db.apache.org
Envoyé le : Mardi, 2 Janvier 2007, 4h26mn 09s
Objet : Re: Re : Re : Re : Not much info with: "Could not parse or write data file"

On 12/27/06, Laurent ROCHE <laurent_roche@yahoo.com> wrote:

> I have upgraded to the latest DDL utils (and the latest Derby) and I still get the same
errors !
>
> I suspect some lines insert fails and then the others can not get inserted because the
first ones failed !
> Hence, it will be nice to get extra user friendly messages when data insert fails !
>
> This can be a really tricky part when migrating data from one system to another, if we
can not know what data failed to insert and the reason, this tool is going to be difficult
to use !
> A line number in data.xml, the SQL instruction that failed and the SQL error message
would help a lot to correct the errors when moving data from one system to another.

Please update DdlUtils and set the new verbosity parameter
(http://db.apache.org/ddlutils/ant/org.apache.ddlutils.task.DdlToDatabaseTask.html#parameter-verbosity)
to DEBUG in order to see which rows are hold back.

Tom




__________________________________________________
Do You Yahoo!?
En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les
messages non sollicités 
http://mail.yahoo.fr Yahoo! Mail 

Mime
View raw message