This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270012

Summary: Eclipselink out of date
Product: ide Reporter: ozziej
Component: libsAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description ozziej 2017-03-08 06:11:51 UTC
Netbeans includes eclipse link as part of the application.
On Mac OS X its under:
Contents/Resources/NetBeans/java/modules/ext/eclipselink/

org.eclipse.persistence.jpa.jpql_2.5.2.v20140319-9ad6abd.jar
org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar
javax.persistence_2.1.0.v201304241213.j

However, its horribly out of date and has issues with some Java 8 Features, particularly streams.

This is shown with lazy loaded objects that are not fetched when executing streams.
Its also evident in the @NamedQuery evaluator, this often incorrectly reports that there is an issue with the query when there is none (it will correctly compile and run)

The current version of Eclipselink is 2.6.4 (which has fixes for the issue with Java 8 Streams)
and the current version of javax.persistence is 2.1.1 

http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.eclipse.persistence%22
Comment 1 ozziej 2017-04-27 07:47:43 UTC
Still an issue as with nightly build 201704270002 :

eclipselink.jar
javax.persistence_2.1.0.201304241213.jar
org.eclipse.persistence.jpa.jpql_2.5.2.20140319-9ad6abd.jar
org.eclipse.persistence.jpa.modelgen_2.5.2.v20140319-9ad6abd.jar