[cvs] expresso commit by yves: Yves Amaizo new changes commit today
JCorporate Ltd
jcorp at jcorporate.com
Tue Oct 18 22:58:17 UTC 2005
Log Message:
-----------
Yves Amaizo new changes commit today 2005/10/19 00:55 french time
Modified Files:
--------------
expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db:
DBTransaction.java
Revision Data
-------------
Index: DBTransaction.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBTransaction.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBTransaction.java -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBTransaction.java -u -r1.5 -r1.6
--- expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBTransaction.java
+++ expresso-web/WEB-INF/src/com/jcorporate/expresso/core/db/DBTransaction.java
@@ -77,7 +77,12 @@
*
* @author Yves Henri AMAIZO
*/
-public class DBTransaction {
+public class DBTransaction implements ITransaction {
+
+ /**
+ * Constant name for the 'Default' database context
+ */
+ public static final String TRANSACTION_TYPE = "TRANSACTION";
/**
* Constant name for the 'Default' database context
@@ -267,7 +272,6 @@
public void commit() throws DBException {
String myName = (THIS_CLASS + "commit()");
try {
-// if (lastCommited == 1) {
if (!myConnection.isClosed()) {
myConnection.commit();
if (log.isDebugEnabled()) {
@@ -276,9 +280,6 @@
}
close();
}
-// } else {
-// lastCommited--;
-// }
} catch (DBException se) {
close();
More information about the cvs
mailing list