Revision 1299
Added by Jing Tao about 22 years ago
src/edu/ucsb/nceas/metacat/DBConnectionPool.java | ||
---|---|---|
224 | 224 |
db.increaseUsageCount(1); |
225 | 225 |
//set method name to DBConnection |
226 | 226 |
db.setCheckOutMethodName(methodName); |
227 |
db.setAutoCommit(true); |
|
227 | 228 |
//debug message |
228 | 229 |
MetaCatUtil.debugMessage("The connection is checked out: " |
229 | 230 |
+db.getTag(), 35); |
Also available in: Unified diff
Add code to make sure that a DBConnection checked out is auto commit.