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 93050

Summary: Session Beans from Entity Classes has empty list of Availabe Entity Classes
Product: javaee Reporter: Jan Horvath <jhorvath>
Component: PersistenceAssignee: Erno Mononen <emononen>
Status: RESOLVED FIXED    
Severity: blocker CC: abadea, lkishalmi, piotrjanik, pjiricka
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 95534, 101719, 108649    
Bug Blocks:    

Description Jan Horvath 2007-01-23 15:52:48 UTC
Build 200701221900

-create EJB module
-create Entity Class
-start Session Beans from Entity Classes wizard
-ERROR: Available Entity Classes list is empty
Comment 1 Erno Mononen 2007-01-24 14:26:29 UTC
This one needs the underlying model, which is not implemented yet. Andrei, is 
there an issue for that?  This should marked as a dependent on that.
Comment 2 Erno Mononen 2007-03-21 12:22:59 UTC
*** Issue 96240 has been marked as a duplicate of this issue. ***
Comment 3 Erno Mononen 2007-06-19 10:21:13 UTC
Should be fixed for M10, the model is already there.
Comment 4 martin_adamek 2007-06-20 08:40:14 UTC
*** Issue 101984 has been marked as a duplicate of this issue. ***
Comment 5 Erno Mononen 2007-06-25 16:25:29 UTC
Working on this now.
Comment 6 Erno Mononen 2007-06-28 10:38:45 UTC
*** Issue 108335 has been marked as a duplicate of this issue. ***
Comment 7 Erno Mononen 2007-06-29 15:32:05 UTC
Adding a dependency to issue 101719. The problem is that the created facade is not immediately regocnized as an EJB by 
the EJB model, causing entity manager generation to fail (since the class is not recognized as a target for dependency 
injection). 
Comment 8 Erno Mononen 2007-07-16 15:36:53 UTC
*** Issue 108770 has been marked as a duplicate of this issue. ***
Comment 9 Erno Mononen 2007-08-03 08:06:44 UTC
*** Issue 111805 has been marked as a duplicate of this issue. ***
Comment 10 Erno Mononen 2007-08-13 19:52:15 UTC
*** Issue 112572 has been marked as a duplicate of this issue. ***
Comment 11 Erno Mononen 2007-08-17 13:40:22 UTC
Fixed in trunk.

Checking in test/unit/src/org/netbeans/modules/j2ee/persistence/action/ContainerManagedJTAInjectableInEJBTest.java;
/cvs/j2ee/persistence/test/unit/src/org/netbeans/modules/j2ee/persistence/action/
ContainerManagedJTAInjectableInEJBTest.java,v  <--  ContainerManagedJTAInjectableInEJBTest.java
new revision: 1.10; previous revision: 1.9
done
Checking in src/org/netbeans/modules/j2ee/persistence/spi/entitymanagergenerator/
ContainerManagedJTAInjectableInEJB.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/spi/entitymanagergenerator/
ContainerManagedJTAInjectableInEJB.java,v  <--  ContainerManagedJTAInjectableInEJB.java
new revision: 1.3; previous revision: 1.2
done
Checking in src/org/netbeans/modules/j2ee/persistence/spi/entitymanagergenerator/
EntityManagerGenerationStrategySupport.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/spi/entitymanagergenerator/
EntityManagerGenerationStrategySupport.java,v  <--  EntityManagerGenerationStrategySupport.java
new revision: 1.4; previous revision: 1.3
done
Checking in src/org/netbeans/modules/j2ee/persistence/wizard/EntityClosure.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/EntityClosure.java,v  <--  EntityClosure.java
new revision: 1.5; previous revision: 1.4
done
Checking in src/org/netbeans/modules/j2ee/persistence/wizard/PersistenceClientEntitySelectionVisual.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/PersistenceClientEntitySelectionVisual.java,v  <-
-  PersistenceClientEntitySelectionVisual.java
new revision: 1.8; previous revision: 1.7
done
Checking in src/org/netbeans/modules/j2ee/persistence/action/GenerationOptions.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/action/GenerationOptions.java,v  <--  
GenerationOptions.java
new revision: 1.6; previous revision: 1.5
done
Checking in src/org/netbeans/modules/j2ee/persistence/action/EntityManagerGenerator.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/action/EntityManagerGenerator.java,v  <--  
EntityManagerGenerator.java
new revision: 1.18; previous revision: 1.17
done
Checking in src/org/netbeans/modules/j2ee/persistence/wizard/dao/EjbFacadeWizardIterator.java;
/cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/dao/EjbFacadeWizardIterator.java,v  <--  
EjbFacadeWizardIterator.java
new revision: 1.11; previous revision: 1.10
done
Checking in test/unit/src/org/netbeans/modules/j2ee/persistence/wizard/dao/EjbFacadeWizardIteratorTest.java;
/cvs/j2ee/persistence/test/unit/src/org/netbeans/modules/j2ee/persistence/wizard/dao/
EjbFacadeWizardIteratorTest.java,v  <--  EjbFacadeWizardIteratorTest.java
new revision: 1.4; previous revision: 1.3
done