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,
[EMAIL PROTECTED]
The Computing Froggy

----- Message d'origine ----
De : Thomas Dudziak <[EMAIL PROTECTED]>
À : [email protected]
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 <[EMAIL PROTECTED]> 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

Reply via email to