Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 90804

Summary: JPA cannot be used in JSE module suite project
Product: javaee Reporter: mgoe <mgoe>
Component: PersistenceAssignee: Andrei Badea <abadea>
Status: NEW --- QA Contact: issues <issues.netbeans.org>
Priority: P2    
Version: 5.x   
Target Milestone: 6.x   
Hardware: All   
OS: Linux   
Whiteboard:
Issue Type: ENHANCEMENT Exception Report:

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.
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo