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:36:20 GMT
arminw      2005/02/19 12:36:20

  Modified:    src/test/org/apache/ojb/odmg Tag: OJB_1_0_RELEASE
                        UserTestCases.java
  Log:
  use WRITE lock instead UPGRADE
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.13.2.3  +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.13.2.2
  retrieving revision 1.13.2.3
  diff -u -r1.13.2.2 -r1.13.2.3
  --- UserTestCases.java	4 Dec 2004 14:01:08 -0000	1.13.2.2
  +++ UserTestCases.java	19 Feb 2005 20:36:20 -0000	1.13.2.3
  @@ -206,7 +206,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