Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1539

EntityEnterpriseContext does not clear ejbLocalObject

XMLWordPrintable

      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;
      }

              dandread1@redhat.com Dimitrios Andreadis
              pra_jira Peter Antman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: