db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/odmg/oql OQLQueryImpl.java
Date Tue, 17 May 2005 23:12:29 GMT
arminw      2005/05/17 16:12:29

  Modified:    src/java/org/apache/ojb/odmg/oql Tag: OJB_1_0_RELEASE
                        OQLQueryImpl.java
  Log:
  fix used locking state for for implizite locked objects in OQLQuery, use READ instead of
WRITE
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.18.2.4  +2 -2      db-ojb/src/java/org/apache/ojb/odmg/oql/OQLQueryImpl.java
  
  Index: OQLQueryImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/oql/OQLQueryImpl.java,v
  retrieving revision 1.18.2.3
  retrieving revision 1.18.2.4
  diff -u -r1.18.2.3 -r1.18.2.4
  --- OQLQueryImpl.java	3 May 2005 17:09:04 -0000	1.18.2.3
  +++ OQLQueryImpl.java	17 May 2005 23:12:29 -0000	1.18.2.4
  @@ -328,7 +328,7 @@
                   {
                       toBeLocked = iter.next();
                       RuntimeObject rt = new RuntimeObject(toBeLocked, tx, false);
  -                    tx.lockAndRegister(rt, Transaction.WRITE, true, regList);
  +                    tx.lockAndRegister(rt, Transaction.READ, true, regList);
                   }
               }
               finally
  
  
  

---------------------------------------------------------------------
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