You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-user@db.apache.org by Laurent ROCHE <la...@yahoo.com> on 2007/01/03 18:43:30 UTC

PB with SVN files ? [Was: Not much info with: "Could not parse or write data file" aka "The Saga continues"]

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 <to...@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 <la...@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 

Re: PB with SVN files ? [Was: Not much info with: "Could not parse or write data file" aka "The Saga continues"]

Posted by Thomas Dudziak <to...@gmail.com>.
On 1/3/07, Laurent ROCHE <la...@yahoo.com> wrote:

> 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.

Seems you don't have the most recent source (or your Ant script uses
an older DdlUtils jar file).

Tom