RapidIdentity Product Guides - 2019 Rolling Release

HikariCP Properties

RapidIdentity uses HikariCP as the database connection pool provider and various configuration properties are available.

RapidIdentity provides sensible defaults with the ability to adjust these configuration values as needed. To provide custom configuration values, prefix the HikariCP configuration item name with "db.hikari.".

For example, to adjust the maximum pool size, provide an integer value for db.hikari.maximumPoolSize.

This table defines the explicit default values provided by RapidIdentity.

Table 212. HikariCP Properties

Property

Type

Description

db.hikari.driverClassName

String

RapidIdentity provides a default value based on the db.type.

  • postgresql: org.postgresql.Driver

  • mysql: org.mariadb.jdbc.Driver

  • mssql: net.sourceforge.jtds.jdbc.Driver

The JDBC drivers above are provided with the RapidIdentity distribution. Any change requires that JDBC driver to be present on the classpath.

db.hikari.maximumPoolSize

integer

10

db.hikari.minimumIdle

integer

1

RapidIdentity will not use a value less than 1 or greater than 3.

db.hikari.idleTimeout

integer

120000

db.hikari.initializationFailTimeout

integer

-1

db.hikari.connectionTestQuery

string

If the db.type value is mssql, the value " SELECT 1 " is used for this configuration item