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 90804 - JPA cannot be used in JSE module suite project
Summary: JPA cannot be used in JSE module suite project
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: All Linux
: P2 blocker with 7 votes (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-08 08:47 UTC by mgoe
Modified: 2008-01-17 15:56 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 mgoe 2006-12-08 08:47:22 UTC
In a JSE Module Suite Project the Java Persitence API cannot be used. In the 
"New File" dialog the "Persistence" category is not offered (in oposition to a 
Java Class Library Project where this category is provided). If in a Module 
Suite Project a persistent entity is created manually (write a new class, use 
the @Entity annotation etc.) the editor shows the warning "The project doesn't 
contain a persistent unit" even if the "META-INF/persistence.xml" file exists.
Comment 1 Jan Horvath 2006-12-08 08:56:03 UTC
could you please specify which build of netbeans do you use?
Comment 2 mgoe 2006-12-08 09:16:43 UTC
NetBeans IDE 5.5 (Build 200610171010, C/C++Pack 20061123, EntPack 20061020) 
Comment 3 Petr Blaha 2006-12-08 09:24:41 UTC
Hi reporter, I guess you mean NetBeans Plug-in Module Suite project, right? In
this project JPA support isn't implemented for NetBeans 5.5. We track this as
enhancement for support JPA there for next release.
Comment 4 mgoe 2006-12-08 09:54:04 UTC
Yes, its a NetBeans Plug-in Module Suite project. For which "next 
release" (5.5.1 or 6.0) is support planned? 
Comment 5 Erno Mononen 2007-03-23 10:43:02 UTC
I believe blaha was referring to 6.0.
Comment 6 Erno Mononen 2007-08-09 16:00:13 UTC
This is rather an enhancement, so changing.