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 75578 - second and next use of Use Entity Manager action add another @PersistenceContext annotation
Summary: second and next use of Use Entity Manager action add another @PersistenceCont...
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2006-04-26 19:11 UTC by Jan Horvath
Modified: 2006-10-06 15:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Horvath 2006-04-26 19:11:09 UTC
build 200604260200

example after 3 uses of Use Entity Manager:
...
@PersistenceContext(name = "persistence/LogicalName", unitName = "WebApplication21")
@PersistenceContext(name = "persistence/LogicalName", unitName = "WebApplication21")
@PersistenceContext(name = "persistence/LogicalName", unitName = "WebApplication21")
public class NewServlet extends HttpServlet {
...
Comment 1 Daniel Prusa 2006-06-06 14:55:33 UTC
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/action/Attic/EntityManagerGenerator.java
new revision: 1.1.2.9; previous revision: 1.1.2.8
Comment 2 Jan Horvath 2006-10-06 15:14:48 UTC
v