Skip to content

2.1.0

Latest
Compare
Choose a tag to compare
@rbraeunlich rbraeunlich released this 01 Mar 13:46
· 2 commits to master since this release

This new minor version allows you to configure the ConnectionPool ScalikeJDBC uses internally.
When creating the protocol, the new method connectionPoolSettings() is given to pass it one. E.g.:

   jdbc
      .url("jdbc:h2:mem:test;DB_CLOSE_ON_EXIT=FALSE")
      .username("sa")
      .password("sa")
      .driver("org.h2.Driver")
      .connectionPoolSettings(ConnectionPoolSettings(maxSize = 20))
      .build

Also, some bugfix versions of dependencies were updated.

Based on Gatling 3.0.3.
Tested against H2, Postgres and MySQL.
Compiled with Scala 2.12.8