EntityEnterpriseContext does not clear  ejbLocalObject
------------------------------------------------------

         Key: JBAS-1539
         URL: http://jira.jboss.com/jira/browse/JBAS-1539
     Project: JBoss Application Server
        Type: Bug
  Components: EJBs  
    Versions:  JBossAS-3.2.7 Final, JBossAS-3.2.6 Final    
    Reporter: Peter Antman


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.

[EMAIL PROTECTED] 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;
    }



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to