diff --git a/doobie-hikari/src/main/scala/com/avast/sst/doobie/DoobieHikariConfig.scala b/doobie-hikari/src/main/scala/com/avast/sst/doobie/DoobieHikariConfig.scala index ed74c12ae..3143fb71e 100644 --- a/doobie-hikari/src/main/scala/com/avast/sst/doobie/DoobieHikariConfig.scala +++ b/doobie-hikari/src/main/scala/com/avast/sst/doobie/DoobieHikariConfig.scala @@ -11,7 +11,6 @@ final case class DoobieHikariConfig( url: String, username: String, password: String, - autoCommit: Boolean = false, connectionTimeout: FiniteDuration = FiniteDuration(30, TimeUnit.SECONDS), idleTimeout: FiniteDuration = FiniteDuration(10, TimeUnit.MINUTES), maxLifeTime: FiniteDuration = FiniteDuration(30, TimeUnit.MINUTES), diff --git a/doobie-hikari/src/main/scala/com/avast/sst/doobie/DoobieHikariModule.scala b/doobie-hikari/src/main/scala/com/avast/sst/doobie/DoobieHikariModule.scala index 70a5bbde2..429cb1fd8 100644 --- a/doobie-hikari/src/main/scala/com/avast/sst/doobie/DoobieHikariModule.scala +++ b/doobie-hikari/src/main/scala/com/avast/sst/doobie/DoobieHikariModule.scala @@ -51,7 +51,6 @@ object DoobieHikariModule { c.setJdbcUrl(config.url) c.setUsername(config.username) c.setPassword(config.password) - c.setAutoCommit(config.autoCommit) c.setConnectionTimeout(config.connectionTimeout.toMillis) c.setIdleTimeout(config.idleTimeout.toMillis) c.setMaxLifetime(config.maxLifeTime.toMillis)