Difference between revisions of "EclipseLink/Release/2.1.2"

From Eclipsepedia

Jump to: navigation, search
(Known Issues)
m (Known Issues: Reference 3394987)
Line 38: Line 38:
 
* [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc;product=EclipseLink;classification=RT All bugs reported against 2.1.2]
 
* [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc;product=EclipseLink;classification=RT All bugs reported against 2.1.2]
 
** By Component: [https://bugs.eclipse.org/bugs/buglist.cgi?classification=RT;component=JPA;product=EclipseLink;query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;query_based_on=;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc JPA] [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc;component=MOXy;classification=RT;product=EclipseLink MOXy] [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc;component=SDO;classification=RT;product=EclipseLink SDO] [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc;component=DBWS;classification=RT;product=EclipseLink DBWS] [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc;component=Foundation;classification=RT;product=EclipseLink Foundation]
 
** By Component: [https://bugs.eclipse.org/bugs/buglist.cgi?classification=RT;component=JPA;product=EclipseLink;query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;query_based_on=;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc JPA] [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc;component=MOXy;classification=RT;product=EclipseLink MOXy] [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc;component=SDO;classification=RT;product=EclipseLink SDO] [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc;component=DBWS;classification=RT;product=EclipseLink DBWS] [https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;bug_status=UNCONFIRMED;bug_status=NEW;bug_status=ASSIGNED;bug_status=REOPENED;version=2.1.2;columnlist=bug_severity%2Cpriority%2Cversion%2Ctarget_milestone%2Cbug_status%2Creporter%2Cshort_desc;component=Foundation;classification=RT;product=EclipseLink Foundation]
 +
 +
 +
 +
===Result class of getSingleresult differs from earlier releases ===
 +
In EclipseLink 2.1.1, the '''getSingleResult''' of a scalar native query may return return different classes than in EclipseLink 1.x. This will require a modification to your code.
 +
 +
For example, this code:
 +
<source lang="java">
 +
        Query q = em.createNativeQuery("SELECT 1,2 FROM dual ");
 +
        Object obj = q.getSingleResult();
 +
</source>
 +
 +
will return:
 +
* EclipseLink 1.x: A '''List''' with as first element a '''BigDecimal'''
 +
* EclipseLink 2.x: An '''Array''' with as first element a '''BigDecimal'''.
 +
 +
[http://bugs.eclipse.org/bugs/show_bug.cgi?id=334987 Reference 3394987]
  
 
== Resolved Issues ==
 
== Resolved Issues ==

Revision as of 11:40, 3 February 2011

HeliosEclipseLink

EclipseLink 2.1.2 Release Notes

The EclipseLink 2.1.2 patchset focuses on providing bug fixes on the 2.1.0 stream.

New and Noteworthy

Helios Projects leveraging EclipseLink

Within the Helios release there are other projects that either include EclipseLink or offer complementary functionality.

Standards Based

  • JPA 2.0
  • JAXB 2.2
  • SDO 2.1.1

Known Issues

The following are known issues that have been identified as potentially effecting users of EclipseLink 2.1.2. For a list of all open bugs and enhancement requests please see the queries at EclipseLink/Bugs

The following bug queries can be used by find known issues with specific feature areas. They return bugs reported against 2.1.2


Result class of getSingleresult differs from earlier releases

In EclipseLink 2.1.1, the getSingleResult of a scalar native query may return return different classes than in EclipseLink 1.x. This will require a modification to your code.

For example, this code:

        Query q = em.createNativeQuery("SELECT 1,2 FROM dual ");
        Object obj = q.getSingleResult();

will return:

  • EclipseLink 1.x: A List with as first element a BigDecimal
  • EclipseLink 2.x: An Array with as first element a BigDecimal.

Reference 3394987

Resolved Issues

In addition to the features highlighted in the New and Noteworthy section this release also includes a substantial number of bug fixes and enhancement requests.

Property Name Generation from Introspector.decapitalize

The decapitalize method will now leave the property name in uppercase if the first and second characters are uppercase. EclipseLink will use the property name as ID, as detailed in the specification.

Note that this may require a change in some JPQL. For example, if previously you had a method with an annotation such as getcCustomers that would have properties named cCustomers, you will now have Customers.

Future Releases

For more information about future planned EclipseLink releases and patch sets please refer to the releases section of the project summary.