db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: jakarta-ojb/src/test/org/apache/ojb/odmg DMapTest.java DListTest.java OdmgExamples.java
Date Sun, 08 Dec 2002 13:40:06 GMT
brj         2002/12/08 05:40:06

  Modified:    src/test/org/apache/ojb/odmg DMapTest.java DListTest.java
                        OdmgExamples.java
  Log:
  test data follows referential integrity
  
  Revision  Changes    Path
  1.6       +2 -0      jakarta-ojb/src/test/org/apache/ojb/odmg/DMapTest.java
  
  Index: DMapTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/odmg/DMapTest.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DMapTest.java	22 Nov 2002 09:31:18 -0000	1.5
  +++ DMapTest.java	8 Dec 2002 13:40:06 -0000	1.6
  @@ -43,6 +43,8 @@
                   broker.getClassDescriptor(Article.class).getFieldDescriptorByName("articleId")));
           a.setArticleName("New Funny Article " + a.getArticleId());
           a.setStock(234);
  +        a.setProductGroupId(7);
  +        
           return a;
       }
   
  
  
  
  1.9       +2 -0      jakarta-ojb/src/test/org/apache/ojb/odmg/DListTest.java
  
  Index: DListTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/odmg/DListTest.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DListTest.java	22 Nov 2002 09:31:18 -0000	1.8
  +++ DListTest.java	8 Dec 2002 13:40:06 -0000	1.9
  @@ -49,6 +49,8 @@
                   broker.getClassDescriptor(Article.class).getFieldDescriptorByName("articleId")));
           a.setArticleName("New Funny Article " + a.getArticleId());
           a.setStock(234);
  +        a.setProductGroupId(7);
  +        
           return a;
   
       }
  
  
  
  1.6       +1 -0      jakarta-ojb/src/test/org/apache/ojb/odmg/OdmgExamples.java
  
  Index: OdmgExamples.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/odmg/OdmgExamples.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- OdmgExamples.java	5 Sep 2002 16:58:10 -0000	1.5
  +++ OdmgExamples.java	8 Dec 2002 13:40:06 -0000	1.6
  @@ -131,6 +131,7 @@
   
               Article example = new Article();
               example.setArticleId(777);
  +            example.setProductGroupId(7);
               db.makePersistent(example);
   
               // modify Object
  
  
  

Mime
View raw message