How do you use EclipseLink 2.3 as persistence provider in NB 7?

后端 未结 1 630
后悔当初
后悔当初 2021-01-29 04:38

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 di

相关标签:
1条回答
  • 2021-01-29 04:45

    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.

    0 讨论(0)
提交回复
热议问题