db-ddlutils-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson" <...@bristowhill.com>
Subject Re: Still problems with identity.
Date Wed, 17 Jan 2007 17:43:06 GMT
Laurent ROCHE wrote:
> Hi,
> I am still having problems with identity.

I've only been partially following these discussions, so I apologize if
I'm missing information that has already been posted.

> I want to insert in a Derby database rows of a table with an idetity column but using
the values from data.xml not generated values.
> I have set useexplicitidentityvalues ="true" ... but that does not change a thing !

Is this a Derby identity column? If so, what's the column definition for
the identity column in the Derby table? "generated by default" lets you
specify an explicit value but "generated always" does not:


Here's one way to verify the Derby schema (substitute "dbname" for your
actual database name):

  java org.apache.derby.tools.dblook -d jdbc:derby:dbname -o dbname.sql

dblook docs are here:


10.2 also has a new "describe" command:




> Tom, I am posting you the files for a test case, in case you want to have a look at it.
> (anyone else interested, I can mail you the stuff too).
> Has anybody manage to get this working ?
> I hope we can get it to work.
> Thanks in advance for any help.

View raw message