db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georgi Naplatanov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DDLUTILS-64) too many waiting objects when importing data
Date Sat, 21 Jan 2006 21:40:04 GMT
     [ http://issues.apache.org/jira/browse/DDLUTILS-64?page=all ]

Georgi Naplatanov updated DDLUTILS-64:
--------------------------------------

    Attachment: derby.patch

I used the attachet patch as DerbyBuilder.getSelectLastInsertId implemetations during the
tests.

> too many waiting objects when importing data
> --------------------------------------------
>
>          Key: DDLUTILS-64
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-64
>      Project: DdlUtils
>         Type: Bug
>  Environment: ddlutils - svn version - 13.01.2006
> sun jdk 1.5.0_06 for linux
> source database - hsqldb 1.8.0.2
> target database - Apache Derby 10.1.2.1
>     Reporter: Georgi Naplatanov
>     Assignee: Thomas Dudziak
>  Attachments: derby.patch
>
> i try to migrate hsqldb database to apache derby and i have
> synchronization problem with autogenerated keys from the source db
> and new values from the target db
>  Lets say we hawe one row from the parent table
>  parent table - source db
>  pk autoincrement - id = 35
>  parent table- target db
>  pk autoincrement - id = 2
>  In this case ddlutils can't insert rows to the tables wich has foreign key (FK) from
>  parent table because id value was changed from 35 to 2.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message