Description
Hikari connection pool specific configuration for
javax.sql.DataSource.Usages
Configuration options
| Key | Kind | Type | Description |
|---|---|---|---|
allow-pool-suspension | VALUE | Boolean | Set whether pool suspension is allowed |
auto-commit | VALUE | Boolean | Set the default auto-commit behavior of connections in the pool |
catalog | VALUE | String | Set the default catalog name to be set on connections |
connection-init-sql | VALUE | String | Set the SQL string that will be executed on all new connections when they are created, before they are added to the pool |
connection-test-query | VALUE | String | Set the SQL query to be executed to test the validity of connections |
connection-timeout | VALUE | Long | Set the maximum number of milliseconds that a client will wait for a connection from the pool |
health-check-properties | MAP | String | Add properties (name/value pair) that will be used to configure the connection pool health check |
idle-timeout | VALUE | Long | This property controls the maximum amount of time that a connection is allowed to sit idle in the pool |
initialization-fail-timeout | VALUE | Long | Set the pool initialization failure timeout |
isolate-internal-queries | VALUE | Boolean | Configure whether internal pool queries, principally aliveness checks, will be isolated in their own transaction via java.sql.Connection#rollback() |
keepalive-time | VALUE | Long | This property controls the keepalive interval for a connection in the pool |
leak-detection-threshold | VALUE | Long | This property controls the amount of time that a connection can be out of the pool before a message is logged indicating a possible connection leak |
max-lifetime | VALUE | Long | This property controls the maximum lifetime of a connection in the pool |
maximum-pool-size | VALUE | Integer | The property controls the maximum size that the pool is allowed to reach, including both idle and in-use connections |
minimum-idle | VALUE | Integer | The property controls the minimum number of idle connections that HikariCP tries to maintain in the pool, including both idle and in-use connections |
pool-name | VALUE | String | Set the name of the connection pool |
properties | MAP | String | Add properties (name/value pair) that will be used to configure the DataSource/Driver |
read-only | VALUE | Boolean | Configures the Connections to be added to the pool as read-only Connections |
register-mbeans | VALUE | Boolean | Configures whether HikariCP self-registers the com.zaxxer.hikari.HikariConfigMXBean and com.zaxxer.hikari.HikariPoolMXBean in JMX |
schema | VALUE | String | Set the default schema name to be set on connections |
transaction-isolation | VALUE | i.h.d.s.d.TransactionIsolation | Set the default transaction isolation level |
validation-timeout | VALUE | Long | Sets the maximum number of milliseconds that the pool will wait for a connection to be validated as alive |
See the manifest for all available types.