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.
This seems to be a bug/ommision in the library since adding the TopLink Essentials, which claims the same as EclipseLink module, does include the javax.persistence package. Also this library claims to be 2.0 but it doesn't contain the javax.persistence.metamodel package.
For some reason the libraries specified in the module are not in my installation! The modules/ext/eclipselink folder is not present. Sadly placing the files where they should be and restarting the IDE doesn't fix the issue.
What kind of installation do you use? Eclipselink library include jpa2.0 api jar and eclipselink jpa provider and related functionality jar.
In this case I used the zip distro of 6.9.1. It might be missing from the distro. The weird thing is that placing the files where they should didn't solve the issue.
do you mean there is eclipselink library in libraries list but no corresponding jars? if it's just provider selection in pu wizrds but eclipselink module isn't included in ide by unknown reasons ide can't know where jars should be. Can you check library classpath in Tools|Library also?
Also, can you provide a link to used zip distribution?
for example netbeans-6.9.1-201008030030-ml.zip contain java/modules/ext/eclipselink with all jars.
please reopen with additional information.
Entry in Tool>Library has the proper links to the jars. This is the link I used to get the zip distro: http://download.netbeans.org/netbeans/6.9.1/final/zip/netbeans-6.9.1-201007282301-ml-java.zip Reopening with requested information
I've tried your link and it have eclipselink jars under "netbeans-6.9.1-201007282301-ml-java\netbeans\java\modules\ext\eclipselink", also tried to create pu in j2se application with clipselink provider and have both jars added to the project. may you zip be corrupted?
javydreamercsw, it does sound like your installation is corrupted or something. Could you try different build please? And also how do you reproduce the problem? Do you create a project and add EclipseLink IDE library to its classpath and some JPA packages are missing?
In my case I'm trying to use the EclipseLink Netbeans Module within a RCP application.
I'm not sure what exactly 'EclipseLink Netbeans Module' is but NetBeans module can express which packages should be publicly visible and which not. Perhaps javax.persistence.metamodel was not exported? I would check project.xml of such module.