db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak" <tom...@gmail.com>
Subject Re: FK troubles [Was: Not much info with: "Could not parse or write data file"] aka "The Saga continues II "
Date Tue, 09 Jan 2007 07:43:53 GMT
On 1/8/07, Laurent ROCHE <laurent_roche@yahoo.com> wrote:

> I have a table where the Foreign Key references the table it-self (case of a parent-child
schema).
> On most of the rows, the FK references another row but for the top rows/primary ancestors
(called them whatever you want) the FK references the row it self.
> DDL-Utils apparently does not know how to manage this ... and no rows are inserted (as
the parents are not inserted, no children are).

You're right, DdlUtils did not handle them. I've added code to deal
with them (even when the PK contains identity columns), please update
and test again.

Tom

Mime
View raw message