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.
I create a maven based JEE6 web application and try to create a persistence unit in it. I selected Glassfish Server as application server. When I selected Hibernate as JPA provider which are not provided by Glassfish by default. 1.It should added Hibernate dependency to the project pom.xml file. 2.Before creating persistence unit, NetBeans requires application server is set, it should also determine the dependency scope of JPA provider. For example, if I installed Hibernate via Glassfish update tool, the scope should provided, other is use default value(do not set).
first one should work, if not please change back to defect. second one isn't supported yet (handle additional providers installed on server) and looks more like enhancement.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss