Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/Release/2.0.0"
(New page: <div></div> = [http://www.eclipse.org/eclipselink EclipseLink] 2.0.0 Release Planning = The EclipseLink 2.0.0 Release is planned for December 2009. * [http://www.eclipse.org/projects/p...) |
|||
(30 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
= [http://www.eclipse.org/eclipselink EclipseLink] 2.0.0 Release Planning = | = [http://www.eclipse.org/eclipselink EclipseLink] 2.0.0 Release Planning = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<table><tr> | <table><tr> | ||
<td valign="top" width="1000" > | <td valign="top" width="1000" > | ||
− | == | + | == New and Noteworthy == |
− | * JPA 2.0 Reference Implementation | + | * JPA 2.0 Reference Implementation - ([[EclipseLink/Examples/JPA#JPA_2.0|examples]]) |
− | ** Mapping Enhancements: Access Type, Element Collection/Map, Orphan Removal, Ordered Lists | + | ** Mapping Enhancements: Access Type, [[EclipseLink/Examples/JPA/2.0/ElementCollections|Element Collection]], [[EclipseLink/Examples/JPA/2.0/MapKeyColumns|Map Columns]], Orphan Removal, [[EclipseLink/Examples/JPA/2.0/OrderColumns|Ordered Lists]] |
− | *** Derived identifiers and MapsId | + | *** [[EclipseLink/Examples/JPA/2.0/DerivedIdentifiers|Derived identifiers]] and MapsId |
** Meta-Model | ** Meta-Model | ||
− | ** Canonical Model generation | + | ** [[UserGuide/JPA/Using_the_Canonical_Model_Generator_(ELUG)|Canonical Model generation]] |
− | ** Querying: Typed and Criteria queries, additional operators with JP QL enhancements | + | ** Querying: Typed and [[EclipseLink/Examples/JPA/2.0/Criteria|Criteria queries]], additional operators with JP QL enhancements |
** Additional LockModeType | ** Additional LockModeType | ||
** Validation Integration (JSR 303) | ** Validation Integration (JSR 303) | ||
* MOXy | * MOXy | ||
+ | ** Introduction of eclipselink-oxm.xml support for simplified externalized (non-annotation) JAXB mapping | ||
+ | ** Enhanced Support for Mapping JPA Entities to XML | ||
+ | *** [[EclipseLink/Examples/MOXy/JPA/Relationships | Bidirectional mapping support]] using XMLInverseReferenceMapping | ||
+ | *** [[EclipseLink/Examples/MOXy/JPA/CompoundPrimaryKeys | Compound key support]] on XMLReferenceCollectionMapping | ||
+ | *** Ability to map [[EclipseLink/Examples/MOXy/JPA/EmbeddedIdClass | embedded ID classes]] | ||
+ | ** Performance Improvements | ||
− | * | + | * EclipseLink Core |
+ | ** Dynamic Persistence: mapping Persistent Entities without Java classes | ||
+ | *** [[EclipseLink/Examples/Foundation/DynamicPersistence|Example]] | ||
* DBWS | * DBWS | ||
+ | ** internal change: use Dynamic Persistence (see above) | ||
</td> | </td> | ||
Line 34: | Line 38: | ||
__TOC__ | __TOC__ | ||
+ | == [[Image:Go-bottom.png]] [http://www.eclipse.org/eclipselink/downloads/index.php#2.0.0 Download EclipseLink 2.0.0] == | ||
− | + | * [http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/releases/2.0.0/eclipselink-2.0.0.v20091127-r5931.zip Complete Install (zip)] | |
− | + | <!-- * [http://download.eclipse.org/rt/eclipselink/updates/2.0.0 P2 Repository] --> | |
− | * [http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/ | + | * [http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/releases/2.0.0/eclipselink-plugins-2.0.0.v20091127-r5931.zip Bundles (zip)] |
− | * [http://download.eclipse.org/rt/eclipselink/updates/ | + | ** [http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/releases/2.0.0/eclipselink-src-2.0.0.v20091127-r5931.zip Bundles Source] |
− | * [http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/ | + | |
− | ** [http://www.eclipse.org/downloads/download.php?file=/rt/eclipselink/ | + | |
* [http://wiki.eclipse.org/EclipseLink/Maven Maven Repository] | * [http://wiki.eclipse.org/EclipseLink/Maven Maven Repository] | ||
+ | * [http://www.eclipse.org/eclipselink/downloads/ri.php JPA 2.0 RI (minimal)] | ||
</td> | </td> | ||
</tr> | </tr> | ||
Line 47: | Line 51: | ||
== Resolved Issues == | == Resolved Issues == | ||
+ | |||
+ | {|{{BMTableStyle}} | ||
+ | |-{{BMTHStyle}} | ||
+ | ! Component | ||
+ | ! Issue | ||
+ | ! Description | ||
+ | |- | ||
+ | | SDO || Dynamic Data Object generation || New Behaviour: When an SDO Type is defined if a class can not be found corresponding to the | ||
+ | instance class name (name of the corresponding static SDO class) then one is not created. See {{bug|277367}} and {{bug|268209}} for more details. | ||
+ | |- | ||
+ | |} | ||
'''Resolved Bug Queries''' | '''Resolved Bug Queries''' | ||
− | * [https://bugs.eclipse.org/bugs/buglist.cgi?bug_file_loc=;bug_file_loc_type=allwordssubstr;bug_id=;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;bugidtype=include;chfieldfrom=;chfieldto=Now;chfieldvalue=;classification=RT;email1=;email2=;emailtype1=substring;emailtype2=substring;field0-0-0=noop;keywords=;keywords_type=allwords;longdesc=;longdesc_type=allwordssubstr;product=EclipseLink;query_format=advanced;short_desc=;short_desc_type=allwordssubstr;status_whiteboard=;status_whiteboard_type=allwordssubstr;target_milestone=2 | + | * [https://bugs.eclipse.org/bugs/buglist.cgi?bug_file_loc=;bug_file_loc_type=allwordssubstr;bug_id=;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;bugidtype=include;chfieldfrom=;chfieldto=Now;chfieldvalue=;classification=RT;email1=;email2=;emailtype1=substring;emailtype2=substring;field0-0-0=noop;keywords=;keywords_type=allwords;longdesc=;longdesc_type=allwordssubstr;product=EclipseLink;query_format=advanced;short_desc=;short_desc_type=allwordssubstr;status_whiteboard=;status_whiteboard_type=allwordssubstr;target_milestone=2.0;type0-0-0=noop;value0-0-0=;votes=;query_based_on=;columnlist=component%2Cbug_severity%2Cpriority%2Cshort_desc All Bugs and Enhancements Requests (ordered by priority)] |
− | ** By Component: [https://bugs.eclipse.org/bugs/buglist.cgi?columnlist=bug_severity%2Cpriority%2Cshort_desc;resolution=FIXED;classification=RT;query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;component=JPA;target_milestone=2 | + | ** By Component: [https://bugs.eclipse.org/bugs/buglist.cgi?columnlist=bug_severity%2Cpriority%2Cshort_desc;resolution=FIXED;classification=RT;query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;component=JPA;target_milestone=2.0;product=EclipseLink JPA], [https://bugs.eclipse.org/bugs/buglist.cgi?columnlist=bug_severity%2Cpriority%2Cshort_desc;resolution=FIXED;classification=RT;query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;component=MOXy;target_milestone=2.0;product=EclipseLink MOXy], [https://bugs.eclipse.org/bugs/buglist.cgi?columnlist=bug_severity%2Cpriority%2Cshort_desc;resolution=FIXED;classification=RT;query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;component=SDO;target_milestone=2.0;product=EclipseLink SDO], [https://bugs.eclipse.org/bugs/buglist.cgi?columnlist=bug_severity%2Cpriority%2Cshort_desc;resolution=FIXED;classification=RT;query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;component=DBWS;target_milestone=2.0;product=EclipseLink DBWS], [https://bugs.eclipse.org/bugs/buglist.cgi?columnlist=bug_severity%2Cpriority%2Cshort_desc;resolution=FIXED;classification=RT;query_format=advanced;bug_status=RESOLVED;bug_status=VERIFIED;bug_status=CLOSED;component=Foundation;target_milestone=2.0;product=EclipseLink Foundation] |
== Known Issues == | == Known Issues == | ||
− | + | {|{{BMTableStyle}} | |
+ | |-{{BMTHStyle}} | ||
+ | ! Component | ||
+ | ! Issue | ||
+ | ! Description | ||
+ | |- | ||
+ | | JPA || JPA 2.0 - Updating Element Collection of Embeddables || With weaving enabled, updates on an element collection of embeddables can potentially throw a null pointer exception. There are two work arounds. 1) Add the annotation @ChangeTracking(DEFFERED) on the embeddable and set the following property eclipselink.weaving.internal to false. | ||
+ | OR | ||
+ | 2) set the following properties to false in persistence XML: eclipselink.weaving.changetracking and eclipselink.weaving.internal. Please see {{bug|296606}} for more details about the issue and the workarounds. | ||
+ | |- | ||
+ | | Utils - Workbench|| Unable to open saved Workbench projects || There is a bug in the 2.0 Workbench that prevents the Workbench project metadata from being correctly written out. The workaround is to use an EclipseLink 2.0.1 nightly build to run the Workbench. You can use this with the EclipseLink 2.0.0 runtime. The nightly builds are located here: http://www.eclipse.org/eclipselink/downloads/nightly.php. Please see {{bug|298300}} for more information. | ||
+ | |- | ||
+ | |} | ||
All known issues with EclipseLink are tracked in the Eclipse bugzilla database. Queries for current open bugs in EclipseLink are available [[EclipseLink/Development/Bugs | here]]. | All known issues with EclipseLink are tracked in the Eclipse bugzilla database. Queries for current open bugs in EclipseLink are available [[EclipseLink/Development/Bugs | here]]. | ||
− | * [https://bugs.eclipse.org/bugs/buglist.cgi?resolution=FIXED;classification=RT;query_format=advanced;version=2 | + | * [https://bugs.eclipse.org/bugs/buglist.cgi?resolution=FIXED;classification=RT;query_format=advanced;version=2.0;product=EclipseLink Bugs and Enhancements logged against 2.0.0] |
== Deprecation == | == Deprecation == | ||
Line 67: | Line 94: | ||
! Description | ! Description | ||
|- | |- | ||
− | | | + | | MOXy || XMLCompositeObjectMapping.containerAccessor \\ XMLCompositeCollectionMapping.containerAccessor || getContainerAccessor() replaced with InverseReferenceMapping.getAccessor(). Also effects related get/set configuration methods. |
|- | |- | ||
|} | |} | ||
Line 87: | Line 114: | ||
| Service Data Objects SDO - JSR 235 || 2.1.1 || Reference Implementation provided by EclipseLink 1.1.0.r3634 | | Service Data Objects SDO - JSR 235 || 2.1.1 || Reference Implementation provided by EclipseLink 1.1.0.r3634 | ||
|- | |- | ||
− | | Java XML Binding Architecture (JAXB) - JSR | + | | Java XML Binding Architecture (JAXB) - JSR 222 || 2.1 || |
|- | |- | ||
|} | |} | ||
=== Java Persistence (JPA) 1.0 & 2.0 === | === Java Persistence (JPA) 1.0 & 2.0 === | ||
+ | |||
+ | EclipseLink 2.0.0 provides both JPA 2.0 and 1.0 functionality. In order to remain backwards compatible with JPA 1.0 some limitations have been imposed. The following table illustrates the usage of each version of JPA with the available library versions. | ||
{|{{BMTableStyle}} | {|{{BMTableStyle}} | ||
|-{{BMTHStyle}} | |-{{BMTHStyle}} | ||
! Java Architecture | ! Java Architecture | ||
− | ! JPA 2.0 | + | ! JPA 2.0<br>javax_persistence_2.0.0<br>Included with EclipseLink ZIP |
− | ! JPA 1.0<br>javax_persistence_1.0<br>Included with EclipseLink ZIP | + | ! JPA 1.0<br>javax_persistence_1.0.0<br>Included with EclipseLink ZIP |
− | ! JPA 1.0<br>javax_persistence_1.0<br>Orbit (signed) | + | ! JPA 1.0<br>javax_persistence_1.0.0<br>Orbit (signed) |
|- | |- | ||
| '''Java SE'''<br>eclipselink.jar || <div align="center">[[Image:Green_checkmark.jpg|Yes]]</div> || <div align="center">[[Image:Green_checkmark.jpg|Yes]]</div> || <div align="center">[[Image:Red_x_100px.png|No]]</div> | | '''Java SE'''<br>eclipselink.jar || <div align="center">[[Image:Green_checkmark.jpg|Yes]]</div> || <div align="center">[[Image:Green_checkmark.jpg|Yes]]</div> || <div align="center">[[Image:Red_x_100px.png|No]]</div> | ||
Line 161: | Line 190: | ||
* Database Platform Certification Notes | * Database Platform Certification Notes | ||
** (O) - Certified by Oracle TopLink QA for the EclipseLink project | ** (O) - Certified by Oracle TopLink QA for the EclipseLink project | ||
+ | |||
+ | [[Category:EclipseLink|Release/2.0.0]] |
Latest revision as of 15:44, 24 October 2011
EclipseLink 2.0.0 Release Planning
New and Noteworthy
|
ContentsDownload EclipseLink 2.0.0 |
Resolved Issues
Component | Issue | Description |
---|---|---|
SDO | Dynamic Data Object generation | New Behaviour: When an SDO Type is defined if a class can not be found corresponding to the
instance class name (name of the corresponding static SDO class) then one is not created. See bug 277367 and bug 268209 for more details. |
Resolved Bug Queries
- All Bugs and Enhancements Requests (ordered by priority)
- By Component: JPA, MOXy, SDO, DBWS, Foundation
Known Issues
Component | Issue | Description |
---|---|---|
JPA | JPA 2.0 - Updating Element Collection of Embeddables | With weaving enabled, updates on an element collection of embeddables can potentially throw a null pointer exception. There are two work arounds. 1) Add the annotation @ChangeTracking(DEFFERED) on the embeddable and set the following property eclipselink.weaving.internal to false.
OR 2) set the following properties to false in persistence XML: eclipselink.weaving.changetracking and eclipselink.weaving.internal. Please see bug 296606 for more details about the issue and the workarounds. |
Utils - Workbench | Unable to open saved Workbench projects | There is a bug in the 2.0 Workbench that prevents the Workbench project metadata from being correctly written out. The workaround is to use an EclipseLink 2.0.1 nightly build to run the Workbench. You can use this with the EclipseLink 2.0.0 runtime. The nightly builds are located here: http://www.eclipse.org/eclipselink/downloads/nightly.php. Please see bug 298300 for more information. |
All known issues with EclipseLink are tracked in the Eclipse bugzilla database. Queries for current open bugs in EclipseLink are available here.
Deprecation
The following features have been newly deprecated in the 2.0 release
Component | Feature | Description |
---|---|---|
MOXy | XMLCompositeObjectMapping.containerAccessor \\ XMLCompositeCollectionMapping.containerAccessor | getContainerAccessor() replaced with InverseReferenceMapping.getAccessor(). Also effects related get/set configuration methods. |
Certified Configurations
Persistence Specifications Supported
Specification | Version | Notes |
---|---|---|
EJB 3.0 (Java Persistence) - JSR 220 | 1.0 | |
Java Persistence (JPA) - JSR 317 | 2.0 | Reference Implementation |
Service Data Objects SDO - JSR 235 | 2.1.1 | Reference Implementation provided by EclipseLink 1.1.0.r3634 |
Java XML Binding Architecture (JAXB) - JSR 222 | 2.1 |
Java Persistence (JPA) 1.0 & 2.0
EclipseLink 2.0.0 provides both JPA 2.0 and 1.0 functionality. In order to remain backwards compatible with JPA 1.0 some limitations have been imposed. The following table illustrates the usage of each version of JPA with the available library versions.
Java Architecture | JPA 2.0 javax_persistence_2.0.0 Included with EclipseLink ZIP |
JPA 1.0 javax_persistence_1.0.0 Included with EclipseLink ZIP |
JPA 1.0 javax_persistence_1.0.0 Orbit (signed) |
---|---|---|---|
Java SE eclipselink.jar |
|||
Java SE bundles |
|||
Java EE eclipselink.jar |
|||
Java EE bundles |
|||
OSGi (Equinox) bundles |
Database Platform Certifications
- Database Platform Certification Notes
- (O) - Certified by Oracle TopLink QA for the EclipseLink project