You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by br...@apache.org on 2005/04/01 22:49:00 UTC

cvs commit: db-ojb/src/test/org/apache/ojb/odmg ODMGRollbackTest.java

brj         2005/04/01 12:49:00

  Modified:    src/test/org/apache/ojb/odmg ODMGRollbackTest.java
  Log:
  use QueryFactory
  
  Revision  Changes    Path
  1.28      +2 -2      db-ojb/src/test/org/apache/ojb/odmg/ODMGRollbackTest.java
  
  Index: ODMGRollbackTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/ODMGRollbackTest.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- ODMGRollbackTest.java	25 Mar 2005 19:06:28 -0000	1.27
  +++ ODMGRollbackTest.java	1 Apr 2005 20:49:00 -0000	1.28
  @@ -88,7 +88,7 @@
           tx = (TransactionExt) odmg.newTransaction();
           tx.begin();
           broker = tx.getBroker();
  -        QueryByIdentity query2 = new QueryByIdentity(obj);
  +        QueryByIdentity query2 = QueryFactory.newQueryByIdentity(obj);
           Object result = broker.getObjectByQuery(query2);
           tx.commit();
   
  @@ -140,7 +140,7 @@
           tx = (TransactionExt) odmg.newTransaction();
           tx.begin();
           broker = tx.getBroker();
  -        QueryByIdentity query2 = new QueryByIdentity(obj);
  +        QueryByIdentity query2 = QueryFactory.newQueryByIdentity(obj);
           Object result = broker.getObjectByQuery(query2);
           tx.commit();
   
  
  
  

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