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 ProxyTest.java
Date Sat, 01 Feb 2003 15:34:06 GMT
brj         2003/02/01 07:34:06

  Modified:    src/test/org/apache/ojb/odmg ProxyTest.java
  Log:
  access static in a static way
  
  Revision  Changes    Path
  1.4       +7 -7      jakarta-ojb/src/test/org/apache/ojb/odmg/ProxyTest.java
  
  Index: ProxyTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/odmg/ProxyTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ProxyTest.java	9 Jan 2003 17:25:19 -0000	1.3
  +++ ProxyTest.java	1 Feb 2003 15:34:06 -0000	1.4
  @@ -2,13 +2,13 @@
   
   
   import junit.framework.TestCase;
  -import org.apache.ojb.broker.PersistenceBrokerFactory;
   import org.apache.ojb.broker.TestHelper;
  -import org.apache.ojb.broker.singlevm.PersistenceBrokerConfiguration;
  -import org.apache.ojb.broker.util.configuration.ConfigurationException;
  -import org.apache.ojb.odmg.OJB;
  -import org.apache.ojb.odmg.TransactionImpl;
  -import org.odmg.*;
  +import org.odmg.DList;
  +import org.odmg.Database;
  +import org.odmg.Implementation;
  +import org.odmg.ODMGException;
  +import org.odmg.OQLQuery;
  +import org.odmg.Transaction;
   
   /** Demo Application that shows basic concepts for Applications using the OJB ODMG
    * implementation as an transactional object server.
  @@ -85,7 +85,7 @@
   
               Transaction tx = odmg.newTransaction();
               tx.begin();
  -            tx.lock(kevin, tx.WRITE);
  +            tx.lock(kevin, Transaction.WRITE);
               tx.commit();
   
               tx = odmg.newTransaction();
  
  
  

Mime
View raw message