db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/odmg FieldConversion_4.java
Date Wed, 05 Mar 2003 14:38:18 GMT
arminw      2003/03/05 06:38:18

  Modified:    src/test/org/apache/ojb/broker FieldConversionTest.java
                        FieldConversionTest_2.java
                        FieldConversionTest_3.java
               src/test/org/apache/ojb/odmg FieldConversion_4.java
  Log:
  made persistent obj serializable
  
  Revision  Changes    Path
  1.2       +5 -3      db-ojb/src/test/org/apache/ojb/broker/FieldConversionTest.java
  
  Index: FieldConversionTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/FieldConversionTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FieldConversionTest.java	28 Feb 2003 12:37:05 -0000	1.1
  +++ FieldConversionTest.java	5 Mar 2003 14:38:17 -0000	1.2
  @@ -6,6 +6,8 @@
   import org.apache.ojb.broker.accesslayer.conversions.ConversionException;
   import org.apache.ojb.broker.accesslayer.conversions.FieldConversion;
   
  +import java.io.Serializable;
  +
   /**
    * Test case to check the field conversion.
    *
  @@ -112,7 +114,7 @@
           }
       }
   
  -    public static class ConversionId
  +    public static class ConversionId implements Serializable
       {
           private Integer conversionId;
   
  @@ -138,7 +140,7 @@
           }
       }
   
  -    public static class ConversionVO
  +    public static class ConversionVO implements Serializable
       {
           Long pkWithAutoIncrement;
           ConversionId pkWithoutAutoIncrement;
  
  
  
  1.2       +4 -3      db-ojb/src/test/org/apache/ojb/broker/FieldConversionTest_2.java
  
  Index: FieldConversionTest_2.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/FieldConversionTest_2.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FieldConversionTest_2.java	28 Feb 2003 17:05:41 -0000	1.1
  +++ FieldConversionTest_2.java	5 Mar 2003 14:38:17 -0000	1.2
  @@ -12,6 +12,7 @@
   
   import java.util.Collection;
   import java.util.Iterator;
  +import java.io.Serializable;
   
   /**
    *
  @@ -193,7 +194,7 @@
       //****************************************************************************
       // inner class
       //****************************************************************************
  -    public static class ConversionReferrer
  +    public static class ConversionReferrer implements Serializable
       {
   
           private int pk1;
  @@ -284,7 +285,7 @@
       //****************************************************************************
       // inner class
       //****************************************************************************
  -    public static class ConversionReferred
  +    public static class ConversionReferred implements Serializable
       {
   
           private int pk1;
  
  
  
  1.2       +3 -2      db-ojb/src/test/org/apache/ojb/broker/FieldConversionTest_3.java
  
  Index: FieldConversionTest_3.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/FieldConversionTest_3.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FieldConversionTest_3.java	28 Feb 2003 17:05:41 -0000	1.1
  +++ FieldConversionTest_3.java	5 Mar 2003 14:38:17 -0000	1.2
  @@ -7,6 +7,7 @@
   import org.apache.ojb.broker.query.QueryFactory;
   
   import java.math.BigDecimal;
  +import java.io.Serializable;
   
   /**
    * Test using field conversions for PK values.
  @@ -141,7 +142,7 @@
       //****************************************************************************
       // inner class
       //****************************************************************************
  -    public class Node
  +    public class Node implements Serializable
       {
           private long uid;  // primary key
           private long refId;
  
  
  
  1.2       +3 -2      db-ojb/src/test/org/apache/ojb/odmg/FieldConversion_4.java
  
  Index: FieldConversion_4.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/FieldConversion_4.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FieldConversion_4.java	3 Mar 2003 19:30:35 -0000	1.1
  +++ FieldConversion_4.java	5 Mar 2003 14:38:18 -0000	1.2
  @@ -19,6 +19,7 @@
   
   import java.math.BigDecimal;
   import java.util.List;
  +import java.io.Serializable;
   
   /**
    * class FieldConversion_ForeigenKeyTest,
  @@ -190,7 +191,7 @@
       //****************************************************************************
       // inner class
       //****************************************************************************
  -    public static class Node
  +    public static class Node implements Serializable
       {
           private long uid;  // primary key
           private long refId;
  
  
  

Mime
View raw message