Commit db124aa
committed
On Connection initialisation, setAutoCommit() mode later (after clientInfo etc)
This change means that autoCommit true will be active while clientInfo is being
set and initSql executed.
Specifically, clientInfo is not supposed to need autoCommit true (or an explicit
commit) but it does seem so for Postgres, and for a very idle database using
autoCommit false and setting clientInfo ApplicationName.1 parent f392671 commit db124aa
File tree
1 file changed
+1
-1
lines changed- ebean-datasource/src/main/java/io/ebean/datasource/pool
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | 442 | | |
444 | 443 | | |
445 | 444 | | |
| |||
475 | 474 | | |
476 | 475 | | |
477 | 476 | | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
| |||
0 commit comments