Last active
January 17, 2024 11:37
-
-
Save juarezjuniorgithub/96bfea3c693f615158f7bb5cac58d2dc to your computer and use it in GitHub Desktop.
HikariCP properties that have exact UCP equivalences
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HikariCP | UCP | Comments | |
|---|---|---|---|
| dataSourceClassName | ConnectionFactoryClassName | (1) ConnectionFactoryClassName also covers java.sql.DriverManager cases.(2) HikariCP doesn't support XA. | |
| jdbcUrl | URL | ||
| username | User | ||
| password | Password | ||
| connectionTimeout (ms) | ConnectionWaitTimeout | UCP 23.2 supports ms and pre-23.2 supports sec. HikariCP lowest acceptable value 250ms. | |
| idleTimeout | InactiveConnectionTimeout | HikariCP won't drop below minimumIdle. | |
| maxLifeTime | MaxConnectionReuseTime | ||
| connectionTestQuery | SQLForValidateConnection | ||
| maximumPoolSize | MaxPoolSize | ||
| poolName | ConnectionPoolName | ||
| driverClassName | ConnectionFactoryClassName | Not recommended. See dataSourceClassName. | |
| validationTimeout | ConnectionValidationTimeout |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment