Fix for #168 - ENH: DataSource - add support for configuring autocommit=true

This commit is contained in:
rbygrave committed 2014-07-16 21:58:32 +12:00
1 parent 3f29acb25c
commit 3f2676ab49
10 files changed
+299 -89

No files matched your search

@@ -176,7 +176,7 @@ public class DataSourcePool implements DataSource {
this.name = name;
this.poolListener = createPoolListener(params.getPoolListener());
this.autoCommit = false;
this.autoCommit = params.isAutoCommit();
this.transactionIsolation = params.getIsolationLevel();
this.maxInactiveMillis = 1000 * params.getMaxInactiveTimeSecs();