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 128480 - JSF Pages from Entity Classes wizard doesn't recognize persstence unit located in EJB module
Summary: JSF Pages from Entity Classes wizard doesn't recognize persstence unit locate...
Status: RESOLVED DUPLICATE of bug 101556
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-26 18:22 UTC by vladperl
Modified: 2009-11-13 00:15 UTC (History)
2 users (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 vladperl 2008-02-26 18:22:28 UTC
Product Version: NetBeans IDE Dev (Build 200802251204)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\vladperl\.netbeans\dev

I have enterprise application that contains EJB and WEB modules.
Persistence unit already defined in EJB module.
When I'm trying to use "New JSF Pages from Entity class" the wizard show in red message:
"The project doesn't have a persistence unit. You need a persistence unit to persist entity classes."

Because of that I wasn't able to use the wizard.
Please provide the possibility to recognize persistence unit located in EJB module.
Comment 1 _ potingwu 2008-02-26 18:36:10 UTC
"JSF Pages from Entity Classes" issue.
Comment 2 Matthew Bohm 2008-03-03 15:36:41 UTC
Marking evaluated.
Comment 3 Matthew Bohm 2008-03-25 10:51:02 UTC
The logic to determine whether a persistence unit exists originates, in this case, in
org.netbeans.modules.j2ee.persistence.wizard.PersistenceClientEntitySelectionVisual.updatePersistenceUnitButton.

Adding abadea for his input.
Comment 4 Matthew Bohm 2008-03-26 10:56:20 UTC
Marking as enhancement and changing component to j2ee, per abadea. (Can't seem to make subcomponent
"persistence"--settling for "wizards.")
Comment 5 Matthew Bohm 2008-03-26 10:56:57 UTC
Made subcomponent "persistence," after all.
Comment 6 Sergey Petrov 2009-11-13 00:15:31 UTC
seems to be the same as issue 101556

*** This bug has been marked as a duplicate of bug 101556 ***