Properties convertToHikari(Properties poolProperties) {
    final int MILLIS_PER_SECOND = 1000;
    Properties result = new Properties();
    for (String name : poolProperties.stringPropertyNames()) {
      String hikariName = convertToCamelCase(name);
      String hikariValue = poolProperties.getProperty(name);
      if (name.equals("connection-url")) {
        hikariName = "jdbcUrl";
      } else if (name.equals("jdbc-driver-class")) {
        hikariName = "driverClassName";
      } else if (name.equals("user-name")) {
        hikariName = "username";
      } else if (name.equals("max-pool-size")) {
        hikariName = "maximumPoolSize";
      } else if (name.equals("idle-timeout-seconds")) {
        hikariName = "idleTimeout";
        hikariValue = String.valueOf(Integer.parseInt(hikariValue) * MILLIS_PER_SECOND);
      }
      result.setProperty(hikariName, hikariValue);
    }
    return result;
  }
This class implements PooledDataSourceFactory for the JDBC Connector extension.
It will be used by default for a data-source with type "POOLED" specified when using
the "gfsh create data-source" command.
<p>
The connection pooling is provided by Hikari, a high-performance JDBC connection pool.
<br>
The following data-source parameters will be will be passed to Hikari as the following:
<br>
connection-url --&gt; jdbcUrl<br>
jdbc-driver-class --&gt; driverClassName<br>
user-name --&gt; username<br>
password --&gt; password<br>
max-pool-size --&gt; maximumPoolSize<br>
idle-timeout-seconds --&gt; idleTimeout<br>
<p>
Additional Hikari configuration parameters may be passed to configure the Hikari pool
by specifying them using the --pool-properties of the "gfsh create data-source" command.
<p>
For more information see the "gfsh create data-source" command.
<br>
Additional Hikari options are described at
https://github.com/brettwooldridge/HikariCP#configuration-knobs-baby
geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/JdbcPooledDataSourceFactory.java