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 82616

Summary: entities from project are visible when reference removed
Product: javaee Reporter: Lukasz Grela <lgrela>
Component: PersistenceAssignee: Andrei Badea <abadea>
Status: RESOLVED FIXED    
Severity: blocker CC: pjiricka
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 95534, 125294    
Bug Blocks:    

Description Lukasz Grela 2006-08-14 14:14:07 UTC
#200608140000

1) create Java Class Library project with entity class

2) create web project with reference to Java Class Library project

3) create persistence unit for web project and check that entity classes are
available (using wizard Jsf from entity class )from Java Class Library

4) remove reference to Java Class Library from web project - the entity classes
are still available
Comment 1 Petr Jiricka 2007-01-05 09:34:39 UTC
Still reproducible in NetBeans 5.5 FCS. Is this related to the model? Or to web
project?
Comment 2 Andrei Badea 2007-01-07 15:26:50 UTC
Most likely to the model. I can reproduce the issue when I replace the web
project with an EJB one and the JSF from Entity wizard with the Session Beans
for Entity Classes wizard.
Comment 3 Andrei Badea 2008-01-15 14:15:45 UTC
Still reproducible, looks like a glitch in the Java infrastructure. Filed issue 125294.
Comment 4 Andrei Badea 2008-02-01 17:23:41 UTC
Fixed by the fix of issue 125294.