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 178824

Summary: Incositant persistence generation in NetBeans EJB project and Maven EJB project
Product: javaee Reporter: rjdkolb
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: NEW ---    
Severity: normal CC: pjiricka
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description rjdkolb 2009-12-18 00:19:17 UTC
When creating a persistence unit in a normal NetBeans 6.8 EJB project sets the persistence attribute to JTA.

If you create a Maven EJB project and do the same thing, it sets the persistence attribute to Resource Local. The user then needs to read the server.log to find out what is wrong.

This is related to : https://netbeans.org/bugzilla/show_bug.cgi?id=159873
Comment 1 Sergey Petrov 2009-12-18 02:47:24 UTC
It's either invalid issue or some kind of enhancement, as persistence know nothing if server which isn't yet set for project and will be set in future support jta or not. in ant based ejb project server is set on project creation step.
Comment 2 Sergey Petrov 2009-12-18 03:12:38 UTC
as a workaround server should be set in properties.
as enhanment update to p2 as the question appears quite frequently and it's good to decide on design changes.