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 91956 - javax.persistence from Hibernate not found
Summary: javax.persistence from Hibernate not found
Status: RESOLVED DUPLICATE of bug 57392
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-07 09:32 UTC by ghartmann
Modified: 2007-01-08 12:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Library definition for ejb3-persistence.jar (734 bytes, text/xml)
2007-01-07 09:33 UTC, ghartmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ghartmann 2007-01-07 09:32:20 UTC
Classes inside ejb3-persistence.jar (javax.persistence.*) from the hibernate 
entitymanager 3.2 distribution are not found when using Fix Imports or code 
completion.

I tried import.javax. CTRL-space and no persistence package is displayed.

If I open ejb3-persistence.jar inside the Libraries node I can see the classes. 
Adding imports manually also works.
Comment 1 ghartmann 2007-01-07 09:33:39 UTC
Created attachment 37112 [details]
Library definition for ejb3-persistence.jar
Comment 2 Jiri Prox 2007-01-08 08:56:49 UTC
It sounds like the bug with incomplete sources (issue 57392). Can you please try
one of the workarounds suggested there?
Comment 3 ghartmann 2007-01-08 12:57:57 UTC
Yes. It is the same problem.

*** This issue has been marked as a duplicate of 57392 ***