mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
Fix for #168 - ENH: DataSource - add support for configuring autocommit=true
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user