This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 200040 - Add eclipselink-orm.xml and matching annotations for key advanced features
Summary: Add eclipselink-orm.xml and matching annotations for key advanced features
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard: Fixed in 1.0M8
Keywords:
Depends on: 211298 211300 211302 211303 211304 211315 211330 212030 217164 217168 217877 217878 217879 217880 217883 218084 221658 222233 224155 226517
Blocks:
  Show dependency tree
 
Reported: 2007-08-15 11:02 EDT by Doug Clarke CLA
Modified: 2022-06-09 10:25 EDT (History)
8 users (show)

See Also:


Attachments
EclipseLink core changes (42.08 KB, patch)
2008-01-29 13:31 EST, Guy Pelletier CLA
no flags Details | Diff
EclipseLink jpa changes (1.16 MB, patch)
2008-01-29 13:31 EST, Guy Pelletier CLA
no flags Details | Diff
EclipseLink jpa test changes (5.89 KB, patch)
2008-01-29 13:32 EST, Guy Pelletier CLA
no flags Details | Diff
Changes to EclipseLink ORM schema from bug 217877 (21.42 KB, patch)
2008-02-19 15:14 EST, Guy Pelletier CLA
no flags Details | Diff
Changes to EclipseLink ORM schema from bug 217878 (5.02 KB, patch)
2008-02-21 09:52 EST, Guy Pelletier CLA
no flags Details | Diff
Changes to EclipseLink ORM schema from bug 217879 (10.68 KB, patch)
2008-02-25 13:56 EST, Guy Pelletier CLA
no flags Details | Diff
Changes to EclipseLink ORM schema from bug 217880 (7.70 KB, patch)
2008-02-28 11:02 EST, Guy Pelletier CLA
no flags Details | Diff
Changes to EclipseLink ORM schema from bug 217883 (6.64 KB, patch)
2008-03-03 13:27 EST, Guy Pelletier CLA
no flags Details | Diff
Changes to EclipseLink ORM schema from bug 211302 (5.73 KB, patch)
2008-03-31 14:23 EDT, Guy Pelletier CLA
no flags Details | Diff
Changes to EclipseLink ORM schema from bug 224155 (1.24 KB, patch)
2008-04-08 14:43 EDT, Guy Pelletier CLA
no flags Details | Diff
Changes to EclipseLink ORM schema from bug 226517 (2.80 KB, patch)
2008-04-15 14:36 EDT, Guy Pelletier CLA
no flags Details | Diff
Changes to EclipseLink ORM schema from bug 211330 (1.74 KB, patch)
2008-05-23 15:13 EDT, Guy Pelletier CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Clarke CLA 2007-08-15 11:02:48 EDT
Currently EclipseLink supports a native XML metadata format derived from Oracle TopLink. It supports verbose ORM, OXM, and EIS mapping. This file format must be enhanced to support:

1. Alignment with JPA so consumers can choose to use this file to extend/override a JPA ORM.XML configuration with naming ans structure alignment. This means that values specified in the JPA ORM.XML may be omitted except for those required for scoping of the extended configuration (i.e. attribute name)

2. Consumers can use this file exclusively. This means that they can choose to use this single file and configure all values including those that could be specified in the JPA ORM.XML

3. The XML documents customers create must be human readable and as easy to understand as possible. Minimal configuration should be used allowing defaults to be assumed wherever possible.

4. Configuration of top level data access queries using SQL or stored procedures. Basically definition of session queries. This must be possible also in cases where  no entity mappings are defined. The intent is to allow simplified data access use cases.

5. Support for dynamic entity persistence where no concrete entity exists. This configuration will need to be designed in coordination with the ER (to be filed) formalizing the dynamic persistence capabilities used in DBWS.
Comment 1 Guy Pelletier CLA 2008-01-29 13:31:16 EST
Created attachment 88166 [details]
EclipseLink core changes
Comment 2 Guy Pelletier CLA 2008-01-29 13:31:56 EST
Created attachment 88167 [details]
EclipseLink jpa changes
Comment 3 Guy Pelletier CLA 2008-01-29 13:32:46 EST
Created attachment 88168 [details]
EclipseLink jpa test changes
Comment 4 Guy Pelletier CLA 2008-02-19 15:14:02 EST
Created attachment 90099 [details]
Changes to EclipseLink ORM schema from bug 217877
Comment 5 Guy Pelletier CLA 2008-02-21 09:52:59 EST
Created attachment 90352 [details]
Changes to EclipseLink ORM schema from bug 217878
Comment 6 Shaun Smith CLA 2008-02-21 09:54:30 EST
There should be no undefined behavior in how we process mapping files.  In the FS section "EclipseLink-ORM.XML Override and Merging" it states:

"regardless if it conforms to the EclipseLink-ORM.XML schema will be treated no differently than any other JPA ORM.XML file. If there are overlapping specifications in multiple orm files, the last file read will win and there is no guarantee in which order the mapping files will be processed. NOTE: The order the files are listed in the persistence.xml file does not not guarantee that they will be processed in that order."
Comment 7 Michael Keith CLA 2008-02-21 10:03:51 EST
Agreed. Just because the spec does not define the behavior does not mean that we can't come up with a behavior that is describable and predictable. In fact, the spec is undefined to allow different vendors to come up with different strategies for supporting these situations.

It would be a lot nicer if we could draw lines around what we will allow and what we won't. We shouldn't have any grey area, but should define exactly what will and what won't work, and then do the checking to ensure that people do not get caught somewhere in the black zone without knowing it.
Comment 8 Guy Pelletier CLA 2008-02-25 13:56:11 EST
Created attachment 90671 [details]
Changes to EclipseLink ORM schema from bug 217879
Comment 9 Guy Pelletier CLA 2008-02-28 11:02:28 EST
Created attachment 91018 [details]
Changes to EclipseLink ORM schema from bug 217880
Comment 10 Guy Pelletier CLA 2008-03-03 13:27:29 EST
Created attachment 91406 [details]
Changes to EclipseLink ORM schema from bug 217883
Comment 11 Guy Pelletier CLA 2008-03-31 14:23:17 EDT
Created attachment 94272 [details]
Changes to EclipseLink ORM schema from bug 211302
Comment 12 Guy Pelletier CLA 2008-04-08 14:43:20 EDT
Created attachment 95250 [details]
Changes to EclipseLink ORM schema from bug 224155
Comment 13 Guy Pelletier CLA 2008-04-15 14:36:45 EDT
Created attachment 96137 [details]
Changes to EclipseLink ORM schema from bug 226517
Comment 14 Guy Pelletier CLA 2008-05-23 15:13:36 EDT
Created attachment 101798 [details]
Changes to EclipseLink ORM schema from bug 211330
Comment 15 Guy Pelletier CLA 2008-05-27 09:19:27 EDT
All the sub bugs have now been fixed. Changing the status of this bug to resovled fixed.
Comment 16 Eclipse Webmaster CLA 2022-06-09 10:25:56 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink