Thomas Dudziak wrote:

On 1/13/06, Georgi Naplatanov <[EMAIL PROTECTED]> wrote:

Hello, ddlutils is a great tool,
i try to migrate hsqldb database to apache derby and i have
synchronization problem with autogenerated keys from the old (source) db
and new values from the new db (target db - derby).

Lets say we hawe one row from the parent table

parent table - old db
pk autoincrement - id = 35


parent table- new db
pk autoincrement - id = 2

In this case ddlutils can't insert rows to the tables wich has fk from
parent tables because id value was changed from 35 to 2.

For apache derby i use attached pach for lastInsertedId implementation

Could you add this as a bug to DdlUtils' JIRA ?

Tom
Done
https://issues.apache.org/jira/browse/DDLUTILS-64

Reply via email to