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 79675 - Creating JSF pages from Entity Class with Dup Persistence Units
Summary: Creating JSF pages from Entity Class with Dup Persistence Units
Status: RESOLVED DUPLICATE of bug 143523
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Matthew Bohm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-04 12:37 UTC by desdev
Modified: 2008-09-05 20:12 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 desdev 2006-07-04 12:37:03 UTC
Hi

I have been experimenting with multiple persistence units within 1 app as I 
needed to access 2 separate databases.  Although I can create different entity 
classes from different datasources (databases), when I create the JSF pages 
from Entity Classes it always binds the <name>Controller.java file to the 
FIRST persistence unit ONLY.  This then has to be manually edited.

It would be a nice enhancement in the JSF pages from Entity Classes wizard to 
ask which persistence unit it should use, if it finds multiple persistence 
units in the app.

Thanks

Purvez
Comment 1 Lukas Jungmann 2006-07-04 12:51:18 UTC
-> web/jsf, I guess
Comment 2 _ potingwu 2008-09-02 20:05:04 UTC
"Entity classes" issue.
Comment 3 Matthew Bohm 2008-09-05 20:12:47 UTC
Duplicate of 143523.

*** This issue has been marked as a duplicate of 143523 ***