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/test/org/apache/ojb/odmg UserTestCases.java
Date Sat, 19 Feb 2005 20:38:03 GMT
arminw      2005/02/19 12:38:03

  Modified:    src/test/org/apache/ojb/odmg UserTestCases.java
  Log:
  use WRITE lock instead UPGRADE
  
  Revision  Changes    Path
  1.19      +2 -2      db-ojb/src/test/org/apache/ojb/odmg/UserTestCases.java
  
  Index: UserTestCases.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/UserTestCases.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- UserTestCases.java	28 Nov 2004 03:01:58 -0000	1.18
  +++ UserTestCases.java	19 Feb 2005 20:38:03 -0000	1.19
  @@ -187,7 +187,7 @@
               site = (Site) result.get(0);
               assertNotNull(site);
               assertNull(site.getYear());
  -            tx.lock(site, Transaction.UPGRADE);
  +            tx.lock(site, Transaction.WRITE);
               site.setYear(new Integer(2003));
   
               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