Skip to content

Commit

Permalink
!!![info]!!! ebean default autoCommit==FALSE!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
magicprinc committed May 10, 2024
1 parent 8c12838 commit e6819ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ protected void mergeFromDataSourceConfig (HikariConfig hc, DataSourceConfig dsc)
sets(dsc.getSchema(), hc::setSchema);

hc.setTransactionIsolation(IsolationLevel.values()[dsc.getIsolationLevel()].toString());
hc.setAutoCommit(dsc.isAutoCommit());
hc.setAutoCommit(dsc.isAutoCommit());//!!! ebean default autoCommit==FALSE!!!
seti(dsc.getMinConnections(), hc::setMinimumIdle);
seti(dsc.getMaxConnections(), hc::setMaximumPoolSize);

Expand Down

0 comments on commit e6819ae

Please sign in to comment.