db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/test/org/apache/ojb/odmg ODMGRollbackTest.java
Date Fri, 01 Apr 2005 20:49:00 GMT
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


Mime
View raw message