User: fleury  
  Date: 00/08/02 13:39:32

  Modified:    src/main/org/jboss/ejb EntityContainer.java
  Log:
  We need to fix the find wiring of the EJBObject.
  Right now the solution is a stop gap one and doesn't work with multiple finders.
  
  Revision  Changes    Path
  1.18      +5 -1      jboss/src/main/org/jboss/ejb/EntityContainer.java
  
  Index: EntityContainer.java
  ===================================================================
  RCS file: /products/cvs/ejboss/jboss/src/main/org/jboss/ejb/EntityContainer.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- EntityContainer.java      2000/07/28 00:47:34     1.17
  +++ EntityContainer.java      2000/08/02 20:39:31     1.18
  @@ -35,7 +35,7 @@
    *   @author Rickard �berg ([EMAIL PROTECTED])
    *   @author <a href="mailto:[EMAIL PROTECTED]">Marc Fleury</a>
    *   @author <a href="mailto:[EMAIL PROTECTED]">Sebastien Alborini</a>
  - *   @version $Revision: 1.17 $
  + *   @version $Revision: 1.18 $
    */
   public class EntityContainer
      extends Container
  @@ -391,6 +391,10 @@
                                                                                       
                         
                 //First we create the EJBObject
                 EJBObject ejbObject = 
(EJBObject)containerInvoker.getEntityEJBObject(id);
  +              
  +              //MF FIXME: this is not right, the EJBObject should not really have 
an instance associated
  +              // to it yet (it does for the finder but it is a fluke).  In other 
words this fix is 
  +              // temporary (bug does fix the "getEJBObject" problem.  It is 
temporary. Working on a fix
                 
                 // Set the context with the EJBObject
                 
((EntityEnterpriseContext)mi.getEnterpriseContext()).setEJBObject(ejbObject);
  
  
  

Reply via email to