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 - Incositant persistence generation in NetBeans EJB project and Maven EJB project
Summary: Incositant persistence generation in NetBeans EJB project and Maven EJB project
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-18 00:19 UTC by rjdkolb
Modified: 2010-04-07 08:51 UTC (History)
1 user (show)

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 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.