Hi,

Yes, that's fixed !

But now when using a table with a foreign key on it-self all the rows with this 
(self)foreign-key do not get inserted :
extract of error:
...
[ddlToDatabase]   equipments_on_vessels:equip_vess_id=18
[ddlToDatabase] Row visits:visit_id=51 is still not written because it depends 
on these yet unwritten rows
[ddlToDatabase]   equipments_on_vessels:equip_vess_id=19
[ddlToDatabase] Row visits:visit_id=52 is still not written because it depends 
on these yet unwritten rows
[ddlToDatabase]   equipments_on_vessels:equip_vess_id=20
[ddlToDatabase] Borrowed connection [EMAIL PROTECTED] from data source
[ddlToDatabase] Returning connection [EMAIL PROTECTED] to data source.
[ddlToDatabase] Remaining connections: None

BUILD FAILED
C:\Projects\fims\trunk\sql\build.xml:51: 
org.apache.ddlutils.io.DataSinkException: There are 32 rows still not written
because of missing referenced rows
 
Tom, I will send you the schema.xml and data.xml off list, if you want to 
investigate again.


Cheers,

[EMAIL PROTECTED]
The Computing Froggy

----- Message d'origine ----
De : Thomas Dudziak <[EMAIL PROTECTED]>
À : [email protected]
Envoyé le : Mardi, 23 Janvier 2007, 6h17mn 21s
Objet : Re: Tr : Still annoyed with identity

On 1/19/07, Laurent ROCHE <[EMAIL PROTECTED]> wrote:

> As you were kind enough to look at my problem last time, I am mailing you 
> with another test case.
> I thought the identity problem was solved (because the data went in), but the 
> data are still inserted with a generated ID no matter what value I set 
> useexplicitidentityvalues to.

There was a small bug in the subtask itself that lead to the value for
useExplicitIdentityValues being ignored. I fixed this in SVN.

Tom





        

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

Reply via email to