1

I downloaded the latest EclipseLink 2.3 and want to give it a try. But I cannot find a way to choose EclipseLink 2.3 as a persistence provider in NB7.

Here's what I did. 1. Go to my project's persistence.xml. In Design view-> Persistence Provider drop down menu -> New Persistence Library 2. I added the EclipseLink 2.3 jar files and gave it a name. 3. Hit OK.

Nothing happened. It still shows "EclipseLink (JPA 2.)(Default) as my Persistence Provider. And I cannot find the newly created library in the drop down menu. (But if I go Project Properties->Libaries->Add Library I can see it got created).

So how do i use EclipseLink 2.3 as a persistence provider in NB7?

neo
  • 2,461
  • 9
  • 42
  • 67

1 Answers1

0

As long as your Libraries list contains your EclipseLink 2.3 jar and that the persistence.xml file contains the following line: org.eclipse.persistence.jpa.PersistenceProvider

You will be using version 2.3 of EclipseLink. As for the display in netbeans, I'm not sure why it wouldn't update but I wouldn't worry about it.

FYI, I've been using EclipseLink 2.3.0 in Netbeans via the method I've described above and it works fine.

JasonDrums
  • 16
  • 2