HikariCP
HikariCP copied to clipboard
光 HikariCP・A solid, high-performance, JDBC connection pool at last.
For those cases when HikariCP cannot establish connection for some reasons, like changed password, may need to shutdown entire HikariCP Datasource. I expanded previously added SQLExceptionOverride class by adding method...
Would it be nice to add an override to `HikariConfig.setTransactionLevel()` that let's you use the `IsolationLevel` enum instead of having to type out the isolation level yourself? Please let me...
Currently ```lastConnectionFailure``` is always used as cause for ```Connection is not available, request timed out after``` exception. But in some cases ```lastConnectionFailure``` could be so old that it become irrelevant....
#1196 ---- Adds a passwordSupplier property with setter and getter Refactors the password property to use a built-in passwordSupplier If setting the password directly, the passwordSupplier property returns NULL ----...
This relates to the issue encountered in #1411 If connections in the pool are "failed" by the remote database server then they get lazily evicted, however if *all* the connections...
An attempt to fix `initializationFailTimeout` which does not work since 3.3.0 after [this change](https://github.com/brettwooldridge/HikariCP/blob/c509ec1a3f1e19769ee69323972f339cf098ff4b/src/main/java/com/zaxxer/hikari/pool/HikariPool.java#L494).
If one prefers load properties file from classpath, this(with a slash at the beginning) can be wired: ``` HikariConfig hikariConfig = new HikariConfig("/hikari.config.properties"); ``` However, use `ClassLoader.getResourceAsStream` rather than `Class.getResourceAsStream`,...
Current message about failing setLoginTimeout can be confusing. For example when using Spring [AbstractDataSource](https://github.com/spring-projects/spring-framework/blob/master/spring-jdbc/src/main/java/org/springframework/jdbc/datasource/AbstractDataSource.java) - message in logs will looks like this: ``` Failed to set login timeout for data...
It's a modified PR from https://github.com/brettwooldridge/HikariCP/pull/1196/files. To avoid maintaining password and password supplier both together, this PR makes password setting more generic. Try to keep the simplicity while adding more...