db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jatintrivedi <jatin.triv...@gmail.com>
Subject Database identity column
Date Thu, 23 Nov 2006 11:56:02 GMT

I have exported a sybase db and mapped it to Derby. 
Derby creates the corresponding data and schema xml. 
One of the table has 20 rows and an auto-incremet primary key.
When i migrate my application to derby and try to insert new row it starts
with primary key id as 1 
which causes an exception (unique constraint).
How can i maintain the primary key after migrating to derby 
-- 
View this message in context: http://www.nabble.com/Database-identity-column-tf2692150.html#a7507205
Sent from the Apache Derby Users mailing list archive at Nabble.com.


Mime
View raw message