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/tutorial2 UCEditProduct.java
Date Sat, 01 Feb 2003 15:35:22 GMT
brj         2003/02/01 07:35:22

  Modified:    src/test/org/apache/ojb/tutorial2 UCEditProduct.java
  Log:
  access static in a static way
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-ojb/src/test/org/apache/ojb/tutorial2/UCEditProduct.java
  
  Index: UCEditProduct.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/tutorial2/UCEditProduct.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UCEditProduct.java	29 Jul 2002 15:31:17 -0000	1.2
  +++ UCEditProduct.java	1 Feb 2003 15:35:21 -0000	1.3
  @@ -44,7 +44,7 @@
               Product toBeEdited = (Product) result.get(0);
   
               // 4. lock the product for write access
  -            tx.lock(toBeEdited, tx.WRITE);
  +            tx.lock(toBeEdited, Transaction.WRITE);
   
               // 5. Edit the product entry
               System.out.println("please edit existing product");
  
  
  

Mime
View raw message