-
Bug
-
Resolution: Done
-
Major
-
JBossAS-3.2.6 Final, JBossAS-3.2.7 Final
-
None
EntityEnterpriseContext does not clear ejbLocalObject. When entity beans are activiated and passivated any new values in the entreprise context will be lost for local references, since the first one used will be there forever.
[pra@pra ejb]$ cvs diff -u EntityEnterpriseContext.java
Index: EntityEnterpriseContext.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EntityEnterpriseContext.java,v
retrieving revision 1.27.2.6
diff -u -r1.27.2.6 EntityEnterpriseContext.java
— EntityEnterpriseContext.java 30 Jun 2004 18:35:23 -0000 1.27.2.6+++ EntityEnterpriseContext.java 1 Mar 2005 08:06:03 -0000
@@ -96,6 +96,7 @@
key = null;
persistenceCtx = null;
ejbObject = null;
+ ejbLocalObject = null;
txAssociation = GlobalTxEntityMap.NONE;
}