Closed julien-lafont closed 9 years ago
Hello,
I found that some DB properties are not retrieved with the right key in PlayConfig mode.
In play-hikari
properties.setPropertyFromConfig("autoCommit", "defaultAutoCommit", "true") properties.setPropertyFromConfig("transactionIsolation", "defaultTransactionIsolation") properties.setPropertyFromConfig("readOnly", "defaultReadOnly", "false")
In play (doc) (source) :
conf.getBoolean("autocommit") conf.getString("isolation") conf.getBoolean("readOnly")
In addition, some default properties doesn't match with the Hikaricp or Play default values. For example :
maximumPoolSize
minimumIdle
If it's an intended optimization, it should be explained in the Readme.
It is not a intended optimization. This was probably caused by outdated defaults, since play and hikari were updated without reconsidering the new defaults.
Closed in release 1.5.2
Thanks for the release :)
Hello,
I found that some DB properties are not retrieved with the right key in PlayConfig mode.
In play-hikari
In play (doc) (source) :
In addition, some default properties doesn't match with the Hikaricp or Play default values. For example :
maximumPoolSize
minimumIdle
If it's an intended optimization, it should be explained in the Readme.