[
https://issues.apache.org/jira/browse/NETBEANS-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16959073#comment-16959073
]
Cédric Servais commented on NETBEANS-3258:
------------------------------------------
I remember that, in the past, with Netbeans 8.x, OpenJPA was selectable in any
JPA Project that I created.
I got it working too in a normal Java project, this then seems to be tied to
the use of Web Java Project.
Currently, the workaround is to add manually the provider line in
persistence.xml.
> Cannot select the newly created Persistence Library
> ---------------------------------------------------
>
> Key: NETBEANS-3258
> URL: https://issues.apache.org/jira/browse/NETBEANS-3258
> Project: NetBeans
> Issue Type: Bug
> Components: javaee - Persistence
> Affects Versions: 11.1
> Reporter: Cédric Servais
> Assignee: Josh Juneau
> Priority: Major
>
> Hello,
> I'm trying to create a Java EE project using Apache Netbeans 11.1. Part of
> this, I'd like to use OpenEJB and OpenJPA which are part of Apache TomEE Plus
> 8.0. I can add the provided Apache OpenJPA 3.1.0 jar, altogether with
> javaee-8.0-api jar to make it a persistence library for Netbeans.
> However, in my persistence.xml file, I cannot select OpenJPA as a library,
> only EclipseLink (JPA2.1) appears.
> I'm running Apache Netbeans IDE 11.1 on OpenJDK 12 64-bits VM12+33.
>
> Thanks for your support
> Cédric Servais
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists