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/ejb/org/apache/ojb/ejb ODMGBaseBeanImpl.java
Date Mon, 15 Dec 2003 10:16:27 GMT
arminw      2003/12/15 02:16:27

  Modified:    src/ejb/org/apache/ojb/ejb ODMGBaseBeanImpl.java
  Log:
  better lock before mark dirty
  
  Revision  Changes    Path
  1.7       +2 -2      db-ojb/src/ejb/org/apache/ojb/ejb/ODMGBaseBeanImpl.java
  
  Index: ODMGBaseBeanImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/ejb/org/apache/ojb/ejb/ODMGBaseBeanImpl.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ODMGBaseBeanImpl.java	15 Dec 2003 10:11:58 -0000	1.6
  +++ ODMGBaseBeanImpl.java	15 Dec 2003 10:16:27 -0000	1.7
  @@ -128,8 +128,8 @@
           try
           {
               TransactionExt tx = (TransactionExt) odmg.currentTransaction();
  -            tx.markDirty(object);
               tx.lock(object, Transaction.WRITE);
  +            tx.markDirty(object);
           }
           catch (LockNotGrantedException e)
           {
  
  
  

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