This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 251908 - JPA 2.0 delimited identifiers support
Summary: JPA 2.0 delimited identifiers support
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 229140 286163 286164 286167 (view as bug list)
Depends on:
Blocks: 248291
  Show dependency tree
 
Reported: 2008-10-23 15:35 EDT by Gordon Yorke CLA
Modified: 2022-06-09 10:22 EDT (History)
5 users (show)

See Also:


Attachments
Proposed changes (210.32 KB, patch)
2009-07-10 15:20 EDT, Tom Ware CLA
no flags Details | Diff
Updated patch (200.37 KB, patch)
2009-07-13 11:09 EDT, Tom Ware CLA
no flags Details | Diff
Updates to get identifier from DatabasePlatform (153.40 KB, patch)
2009-09-10 13:07 EDT, Tom Ware CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Yorke CLA 2008-10-23 15:35:47 EDT
The specification has added support to always treat meta data identifiers as if they are "quoted" preserving case and allowing reserved words to be used.

See http://wiki.eclipse.org/index.php?title=EclipseLink/Development/JPA_2.0/undelimited_identifiers
Comment 1 Doug Clarke CLA 2009-04-08 15:10:13 EDT
Changing priority to P@ since JPA 2.0 features are required for the 2.0 release
Comment 2 Tom Ware CLA 2009-07-10 15:20:49 EDT
Created attachment 141332 [details]
Proposed changes
Comment 3 Tom Ware CLA 2009-07-13 11:09:18 EDT
Created attachment 141427 [details]
Updated patch
Comment 4 Tom Ware CLA 2009-07-13 16:26:38 EDT
Changes checked in.

Reviewed by Guy Pelletier.

Other details can be found in the design document listed above.

Initial check-in disables tests in MySQL pending a minor build change to specify the correct delimiter on the MySQL default installation.  This bug will not be closed until the build change is made and the tests are enabled.
Comment 5 Tom Ware CLA 2009-09-09 15:34:23 EDT
Additional changes are required based on spec-changes.  These changes are specifically to more transparently deal with database platforms that do not use the default delimiter by default.

These changes will also include changes to fix bug 286163, bug 286164 and bug 286167
Comment 6 Tom Ware CLA 2009-09-09 15:35:15 EDT
*** Bug 286163 has been marked as a duplicate of this bug. ***
Comment 7 Tom Ware CLA 2009-09-09 15:35:39 EDT
*** Bug 286164 has been marked as a duplicate of this bug. ***
Comment 8 Tom Ware CLA 2009-09-09 15:36:12 EDT
*** Bug 286167 has been marked as a duplicate of this bug. ***
Comment 9 Tom Ware CLA 2009-09-10 13:07:35 EDT
Created attachment 146885 [details]
Updates to get identifier from DatabasePlatform
Comment 10 Tom Ware CLA 2009-09-11 11:01:02 EDT
Checked in latest changes including support for overriding delimiter on database platform.

Reviewed by Chris Delahunt

Tested with existing tests from previous check-in on Oracle (standard delimiter) and MySQL (overridden delimiter)
Comment 11 Chris Delahunt CLA 2011-01-13 12:50:55 EST
*** Bug 229140 has been marked as a duplicate of this bug. ***
Comment 12 Eclipse Webmaster CLA 2022-06-09 10:22:51 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink