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 th...@apache.org on 2003/01/25 00:10:19 UTC
cvs commit: jakarta-ojb/src/test/org/apache/ojb/odmg RITest.java
thma 2003/01/24 15:10:19
Modified: src/test/org/apache/ojb/odmg RITest.java
Log:
optimize commit operations
1. implicit lockupgrade is done only in implicit lockmode
2. reordering and commiting are performed only if there are dirty objects
Revision Changes Path
1.8 +2 -1 jakarta-ojb/src/test/org/apache/ojb/odmg/RITest.java
Index: RITest.java
===================================================================
RCS file: /home/cvs/jakarta-ojb/src/test/org/apache/ojb/odmg/RITest.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- RITest.java 9 Jan 2003 17:25:19 -0000 1.7
+++ RITest.java 24 Jan 2003 23:10:19 -0000 1.8
@@ -189,10 +189,11 @@
}
tx.commit();
+ db.close();
}
finally
{
- db.close();
+
}
}