| Summary: | The generated SQL Add code got error when primitive key is self increased | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Xin Wu <cdlwuxin> |
| Component: | EDT | Assignee: | Project Inbox <edt.javagen-inbox> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | chenzhh, jspadea, jvincens, smythew, svihovec, zhuzhi |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Xin Wu
If modify the auto added SQL statement to exclude the primitive key, the generated Java code still contains the primitive key. Which will cause a column mismatch SQL error. Found that just need to add annotation @GeneratedValue behind the PK, so closed this bug. |