This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 121016

Summary: Support for autogenerated keys in Derby
Product: db Reporter: antodasana <antodasana>
Component: DerbyAssignee: Libor Fischmeistr <lfischmeistr>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 152850    

Description antodasana 2007-11-02 19:03:38 UTC
Working with a derby connection in Runtime window, creating a new column, I miss the capacity of creating autogenerated
keys (IDENTITY columns in Derby) from the GUI.

On the opposite direction, when creating my JPA persistent entity beans from a Derby database, the autogeneration
capability is not recognized, and I must type the annotation '@GeneratedValue(strategy=GenerationType.IDENTITY)' in all
entities with identity columns. This annotation is required in order to be able to persist entities in the database.

I think this would help to many developers.
Comment 1 Jiri Rechtacek 2009-10-16 14:05:58 UTC
Reassigned to new owner.
Comment 2 matthias42 2014-09-23 19:00:22 UTC

*** This bug has been marked as a duplicate of bug 57979 ***