| Summary: | "Generate Table from Entities" and SQL statement generated | ||
|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Roberto Viti <roberto.viti> |
| Component: | General | Assignee: | Neil Hauge <neil.hauge> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | brian.vosburgh, gjrekomf, neil.hauge |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Roberto Viti
I checked the DTP MySQL 5.0 definition in DTP and "CALL" is listed as a reserved word meaning that our Entity Gen should already be specifying and delimiting this table name for you as the bug suggests. Are you defining your DB connection using the MySQL connection profile type and the MySQL JDBC Driver 5.0 driver template? (In reply to comment #1) > I checked the DTP MySQL 5.0 definition in DTP and "CALL" is listed as a > reserved word meaning that our Entity Gen should already be specifying and > delimiting this table name for you as the bug suggests. Are you defining your > DB connection using the MySQL connection profile type and the MySQL JDBC Driver > 5.0 driver template? Sorry...was thinking this was Entity Gen for a minute, forgot it was Table Gen that we were talking about. I'll check to see how EclipseLink is supposed to behave in this case and get back to you. It may be a bug or enhancement request for EclipseLink. EclipseLink recommends not using reserved words in your model if possible and if you must then you must delimit them as required. You could file an enhancement against the RT->EclipseLink project to request this functionality but I don't think it is very likely to be changed. Closing this out as it is not a Dali specific issue. See bug 260637 for the EclipseLink issue. |