You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by br...@apache.org on 2003/02/01 16:35:22 UTC
cvs commit: jakarta-ojb/src/test/org/apache/ojb/tutorial2 UCEditProduct.java
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");