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 225398 - When Editing persistence.xml Hibernate JPA (1.0) is displayed
Summary: When Editing persistence.xml Hibernate JPA (1.0) is displayed
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-28 07:18 UTC by rjdkolb
Modified: 2015-01-29 10:39 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rjdkolb 2013-01-28 07:18:22 UTC
This is a very small text fix.

When editing a persistence.xml there is a dropdown for persistance library 

This includes EclipseLink (JPA 2.0)
And Hibernate  (JPA 1.0)

The provider :
<provider>org.hibernate.ejb.HibernatePersistence</provider>

is still valid for JPA 2.0

i.e. can you change "Hibernate  (JPA 1.0)" to Hibernate  (JPA 1.0/2.0)

thanks
Comment 1 Sergey Petrov 2013-01-28 15:23:19 UTC
Context isn't clear.
what project type? ide version?
visual editor show only providers supplied with netbeams, up to 7.3 it's eclipselink 2.x with JPA 2.0 support and hibernate 3.?? with JPA1.0 support.
If you'll create your own hibernate library with javax api+hiberante provider for JPA2.0 it will be displayed in the list.
Comment 2 rjdkolb 2015-01-29 10:39:10 UTC
I see the options in the persistence.xml editor is now
"Hibernate (JPA 2.1)"
"EclipseLink (JPA 2.1)"
etc

For WAR and JAR maven project

I am going to make as resolved, hope you don't mind.