| Summary: | identifiers are not delimited in all cases despite <delimited-identifiers /> | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Martin Geisse <mgeisse> | ||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||
| Status: | NEW --- | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P2 | CC: | maciekmal, peter, tom.ware | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | Macintosh | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 367887 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Martin Geisse
Created attachment 186267 [details]
source code for the entity class
Created attachment 186268 [details]
orm.xml
The issue also occurs with <delimited-identifiers /> and CriteriaBuilder.function(...): The function name is not delimited either. However, in this case adding explicit double-quotes in the function name (the first argument to CriteriaBuilder.function()) causes EclipseLink to quote the function name in the SQL command. So the course of action seems to be different here: quoting *is* possible, just <delimited-identifiers /> does not enable it. Another occurence: For a column with @SequenceGenerator, the sequence name is not quoted automatically. Adding explicit quotes in the sequence name fixes the problem just like it does for function names. Setting target and priority. See the following page for the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines Another scenario in which identifiers are not qualified is the schema name when using the H2 database. Typically this will result in tables named Planner."tblShift" rather than "Planner"."tblShift" The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |