Skip to content

Commit

Permalink
Disable autocommit for hikariCP for http-json-api db conn (#10427)
Browse files Browse the repository at this point in the history
CHANGELOG_BEGIN
CHANGELOG_END
  • Loading branch information
akshayshirahatti-da authored Jul 27, 2021
1 parent 3ca46a4 commit b976c9c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ object ConnectionPool {
val c = new HikariConfig()
c.setJdbcUrl(cfg.url)
c.setUsername(cfg.user)
c.setAutoCommit(false)
c.setPassword(cfg.password)
c.setMinimumIdle(MinIdle)
c.setPoolName("json-api-jdbc-pool")
Expand Down

0 comments on commit b976c9c

Please sign in to comment.