Summary: | Entity Generation - table with auto_increment ID does not generate @GeneratedValue annotation | ||
---|---|---|---|
Product: | [WebTools] Dali JPA Tools | Reporter: | Michael OBrien <michael.f.obrien> |
Component: | JPA | Assignee: | Danny Ju <danny.ju> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | danny.ju, karenfbutzke, theivend |
Version: | 1.0 | Keywords: | helpwanted |
Target Milestone: | Future | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: | |||
Bug Depends on: | 249658 | ||
Bug Blocks: |
Description
Michael OBrien
2007-07-09 16:58:10 EDT
Is it possible to raise the priority on this and get it addressed for Dali 2.1? Do we need support from data tools in their models so that ID columns from a given database connection's table object can be identified as auto-generated? It appears that there is some API in DTP that could be useful for this but would be hard to tell without trying it out (given the lack of documentation). Column.getIdentitySpecifier() 2.1 is already closed for new features (RC1 is this week). We are actually planning on doing a large overhaul of Entity Generation in 2.2, so it is possible that this could be looked at as a part of that effort. I'll go ahead and target for 2.2 to be sure it is considered. Danny, Can you look into the feasibility of adding this to Entity generation, or perhaps there is something like this already in the new Entity Gen? This bug is same as the problem we discussed in Bug 249658. The fix requires change in DTP API to exposed a method isAutoIncrement(). We have submitted bug 250023 to DTP and wait for fix. Ran out of time for this in 2.2. Moving JPA specific bugs to new JPA component in bugzilla. |