db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: jakarta-ojb/src/test/org/apache/ojb/odmg OneToOneTest.java
Date Sun, 02 Feb 2003 15:40:01 GMT
thma        2003/02/02 07:40:01

  Modified:    src/test/org/apache/ojb/odmg OneToOneTest.java
  Log:
  repair FK Assignment for proxies
  
  Revision  Changes    Path
  1.9       +4 -1      jakarta-ojb/src/test/org/apache/ojb/odmg/OneToOneTest.java
  
  Index: OneToOneTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/odmg/OneToOneTest.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- OneToOneTest.java	1 Feb 2003 15:32:44 -0000	1.8
  +++ OneToOneTest.java	2 Feb 2003 15:40:01 -0000	1.9
  @@ -13,6 +13,7 @@
   
   import org.apache.ojb.broker.Identity;
   import org.apache.ojb.broker.TestHelper;
  +import org.apache.ojb.broker.util.logging.LoggerFactory;
   import org.odmg.ODMGException;
   import org.odmg.OQLQuery;
   import org.odmg.Transaction;
  @@ -135,7 +136,9 @@
   
               //on commit the foreign key in "a" should have been set to
               //bOid
  -            assertEquals("foreign key should match", bOid, a.getBoid());
  +            String aBOid = a.getBoid();
  +
  +            assertEquals("foreign key should match", bOid, aBOid);
   
           } catch(ODMGException ex) {
             fail("ODMGException" + ex);
  
  
  

Mime
View raw message