User: dsundstrom
  Date: 02/03/05 20:42:57

  Modified:    src/main/org/jboss/ejb EntityContainer.java
  Log:
  Fixed bug where create of an EJB 2.0 entity was always returning remote
  objects.  The create method mapping was keyed to createHome even for
  local home methods.
  
  Revision  Changes    Path
  1.72      +2 -2      jboss/src/main/org/jboss/ejb/EntityContainer.java
  
  Index: EntityContainer.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/EntityContainer.java,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- EntityContainer.java      5 Mar 2002 18:41:45 -0000       1.71
  +++ EntityContainer.java      6 Mar 2002 04:42:57 -0000       1.72
  @@ -61,7 +61,7 @@
   * @author <a href="mailto:[EMAIL PROTECTED]";>Daniel OConnor</a>
   * @author <a href="[EMAIL PROTECTED]">Bill Burke</a>
   * @author <a href="mailto:[EMAIL PROTECTED]";>Andreas Schaefer</a>
  -* @version $Revision: 1.71 $
  +* @version $Revision: 1.72 $
   *
   * <p><b>Revisions:</b>
   *
  @@ -780,7 +780,7 @@
               }
               else if (isEJB1x == false && methodName.startsWith("create"))
               {
  -               map.put(m[i], this.getClass().getMethod("createHome", new Class[] { 
Invocation.class }));
  +               map.put(m[i], this.getClass().getMethod(methodName+append, new 
Class[] { Invocation.class }));
               }
               else
               {
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to