
|
If you were logged in you would be able to see more operations.
|
|
EJB Cartridge
Created: 26/Sep/04 06:21 PM
Updated: 12/Oct/04 01:16 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
None
|
|
In Method "handleGetAllEntityRelations" the collection object of inherited relations is added to the resulting collection.
Patch see below:
Index: EJBEntityFacadeLogicImpl.java
===================================================================
RCS file: /cvsroot/andromda/cartridges/andromda-ejb/src/java/org/andromda/cartridges/ejb/metafacades/EJBEntityFacadeLogicImpl.java,v
retrieving revision 1.13
diff -u -r1.13 EJBEntityFacadeLogicImpl.java
--- EJBEntityFacadeLogicImpl.java 12 Sep 2004 16:53:09 -0000 1.13
+++ EJBEntityFacadeLogicImpl.java 26 Sep 2004 18:02:28 -0000
@@ -80,8 +80,8 @@
{
EJBEntityFacade entity = (EJBEntityFacade)classifier;
- result.add(entity.getEntityRelations());
- classifier = (ClassifierFacade)this.getGeneralization();
+ result.addAll(entity.getEntityRelations());
+ classifier = (ClassifierFacade)classifier.getGeneralization();
}
return result;
}
|
|
Implemented.
Not fixed yet :( you missed the second significant change in line 83:
result.add_All_(entity.getEntityRelations());
otherwise the result collection contains a collection object...
greetings
jens
Now it is fixed :)
|
|