db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olegn...@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/otm OtmExamples.java
Date Mon, 05 Jan 2004 01:38:48 GMT
olegnitz    2004/01/04 17:38:48

  Modified:    src/test/org/apache/ojb/otm OtmExamples.java
  Log:
  Fixed bug in the test discovered but some recent changes
  
  Revision  Changes    Path
  1.17      +1 -2      db-ojb/src/test/org/apache/ojb/otm/OtmExamples.java
  
  Index: OtmExamples.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/otm/OtmExamples.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- OtmExamples.java	29 Oct 2003 07:58:33 -0000	1.16
  +++ OtmExamples.java	5 Jan 2004 01:38:48 -0000	1.17
  @@ -348,9 +348,8 @@
                   tx = _kit.getTransaction(_conn);
                   tx.begin();
                   article = (Article) _conn.getObjectByIdentity(aOid);
  -                pg = (ProductGroup) article.getProductGroup();
                   _conn.deletePersistent(article);
  -                _conn.deletePersistent(pg);
  +                _conn.deletePersistent(article.getProductGroup());
                   tx.commit();
               }
               catch (Throwable ex)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message