| Summary: | Runtime exception thrown for the generators with the same name | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Nan Li <nan.n.li> |
| Component: | Eclipselink | Assignee: | Project Inbox <eclipselink.orm-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | karenfbutzke, tom.ware |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Nan Li
Changing to Enhancement. We believe this is a grey-area in the specification. The spec indicates an override is required if sequence-generators are specified with the same name. It does not indicate what should occur is a sequence-generator and a table-generator have the same name. Community: Please vote (and add comments) to this bug if you feel there should be an override. Please add comments, if you think the current behavior is correct. While the spec is vague on this, I think the JPA 2 book is pretty clear with the example on page 382 that shows a @SequenceGenerator annotation with a table-generator xml element overriding it. Reminder: If you want this enhancement please ensure you Vote for it. The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |