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

  Modified:    src/test/org/apache/ojb/odmg TestThreadsNLocks.java
  Log:
  access static in a static way
  
  Revision  Changes    Path
  1.4       +3 -7      jakarta-ojb/src/test/org/apache/ojb/odmg/TestThreadsNLocks.java
  
  Index: TestThreadsNLocks.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/odmg/TestThreadsNLocks.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestThreadsNLocks.java	9 Jan 2003 17:25:19 -0000	1.3
  +++ TestThreadsNLocks.java	1 Feb 2003 15:34:43 -0000	1.4
  @@ -1,17 +1,13 @@
   package org.apache.ojb.odmg;
   
  -import org.apache.ojb.broker.PersistenceBrokerFactory;
  +import java.util.Collection;
  +
   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.odmg.Database;
   import org.odmg.Implementation;
   import org.odmg.OQLQuery;
   import org.odmg.Transaction;
   
  -import java.util.Collection;
  -
   
   /**
    * put your documentation comment here
  @@ -91,7 +87,7 @@
               {
                   a = (Article) iter.next();
   
  -                if (tx.tryLock(a, tx.WRITE))
  +                if (tx.tryLock(a, Transaction.WRITE))
                   {
   
                       //db.makePersistent(a);
  
  
  

Mime
View raw message