User: salborini
  Date: 00/08/01 10:14:41

  Modified:    src/java/org/jboss/zol/testbean/bean EntityPKBean.java
  Log:
  Added test for persistence of non-pk fields in CMP entity
  
  Revision  Changes    Path
  1.2       +13 -1     zola/src/java/org/jboss/zol/testbean/bean/EntityPKBean.java
  
  Index: EntityPKBean.java
  ===================================================================
  RCS file: 
/products/cvs/ejboss/zola/src/java/org/jboss/zol/testbean/bean/EntityPKBean.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- EntityPKBean.java 2000/04/27 19:45:40     1.1
  +++ EntityPKBean.java 2000/08/01 17:14:41     1.2
  @@ -17,9 +17,12 @@
       public long aLong;
       public double aDouble;
       public String aString;
  -    private EntityContext entityContext;
   
  +     public int otherField;
  +    
  +     private EntityContext entityContext;
   
  +
       public AComplexPK ejbCreate(boolean aBoolean, int anInt, long aLong, double 
aDouble, String aString) throws RemoteException, CreateException {
   
           System.out.println("EntityPK.ejbCreate() called");
  @@ -93,4 +96,13 @@
   
   
       };
  +     
  +     public int getOtherField() {
  +             return otherField;
  +     }
  +     
  +     public void setOtherField(int newValue) {
  +             otherField = newValue;
  +     }
  +     
   }
  
  
  

Reply via email to