[OFBiz] Users - Derby adding a primary-key field

Si Chen schen at graciousstyle.com
Tue May 24 13:18:41 EDT 2005


Hello everyone.

This morning I had a problem with Derby when I added a new primary key 
field to a table.  The entity engine recognized the additional primary 
key, but Derby apparently did not change its table definition, so 
attempts to add data to the table all failed.  I had to create a new 
Derby database and re-install all the data, which I know is not a good 
practice. :-)

Is there a way to go into Derby manually somehow and change the table 
definitions mark the additional field as a primary key field?

Si


More information about the Users mailing list