| Summary: | plural converter annotations added in EclipseLink | ||
|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Karen Butzke <karenfbutzke> |
| Component: | JPA | Assignee: | Karen Butzke <karenfbutzke> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | jolene.moffitt, neil.hauge, sas1 |
| Version: | 3.0 | Keywords: | plan |
| Target Milestone: | 3.2 M5 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | EclipseLink | ||
|
Description
Karen Butzke
I am not sure if my problem falls into this bug. Generating an Entity from the table "DIM_DIAGNOSIS" creates a class "DimDiagnosi" which is confusing. ... @Entity @Table(name="DIM_DIAGNOSIS") public class DimDiagnosi ... Should I file this as a separate bug? (In reply to comment #1) > I am not sure if my problem falls into this bug. > > Generating an Entity from the table "DIM_DIAGNOSIS" creates a class > "DimDiagnosi" > which is confusing. > > ... > @Entity > @Table(name="DIM_DIAGNOSIS") > public class DimDiagnosi > ... > > > Should I file this as a separate bug? This would be a separate issue. That said, this behavior is working as designed. The idea is to create a proper java class name from a database table name. This is why the underscore is removed and standard camel casing is applied to the 'D' in Diagnosis. An underscore is not prohibited in a class name but it does not follow common Java practice/convention. (In reply to comment #2) I see now that you were referring to the removal of the 's' at the end. Apparently I shouldn't be commenting on bugs at 1:30 in the morning. Moving JPA specific bugs to new JPA component in bugzilla. fixed in M5 Verified in Build I-3.4.0-2012010922312 Verified plural converter annotations were added in EL 2.2, EL 2.3 and 2.4 See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.2_M5 |