dain        2004/04/11 13:12:17

  Modified:    modules/core/src/test/org/openejb/entity MockBMPEJB.java
                        MockHome.java
  Log:

  Primray key is an Integer and not an Object
  
  Revision  Changes    Path
  1.2       +2 -2      openejb/modules/core/src/test/org/openejb/entity/MockBMPEJB.java
  
  Index: MockBMPEJB.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/test/org/openejb/entity/MockBMPEJB.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MockBMPEJB.java   13 Mar 2004 17:09:28 -0000      1.1
  +++ MockBMPEJB.java   11 Apr 2004 17:12:17 -0000      1.2
  @@ -69,7 +69,7 @@
       public void ejbPostCreate(Integer id, String value) {
       }
   
  -    public Object ejbFindByPrimaryKey(Object pk) throws FinderException {
  +    public Object ejbFindByPrimaryKey(Integer pk) throws FinderException {
           return pk;
       }
   
  
  
  
  1.2       +2 -2      openejb/modules/core/src/test/org/openejb/entity/MockHome.java
  
  Index: MockHome.java
  ===================================================================
  RCS file: 
/home/projects/openejb/scm/openejb/modules/core/src/test/org/openejb/entity/MockHome.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MockHome.java     13 Mar 2004 17:09:28 -0000      1.1
  +++ MockHome.java     11 Apr 2004 17:12:17 -0000      1.2
  @@ -57,7 +57,7 @@
    * @version $Revision$ $Date$
    */
   public interface MockHome extends EJBHome {
  -    MockRemote findByPrimaryKey(Object o) throws FinderException, RemoteException;
  +    MockRemote findByPrimaryKey(Integer i) throws FinderException, RemoteException;
   
       int intMethod(int i) throws RemoteException;
   }
  
  
  

Reply via email to