title: how to check HikariCP connection pooling is working or not in Java?
body: <p>I have written following properties in my configuration files I am using <code>Log4j</code> 
  in my application When I am running a project.</p>
  
  <p>I am getting following message.does that mean connection pooling is configured in my project? if not then how it will be?</p>
  
  <p><strong>INFO: internal.ConnectionProviderInitiator - HHH000130: Instantiating explicit connection provider: com.zaxxer.hikari.hibernate.HikariConnectionProvider</strong></p>
  
  <p>I have referred following link also</p>
  
  <p><a href="https://stackoverflow.com/questions/30814002/how-to-configure-log4j2-to-log-for-hikaricp">link here</a></p>
  
  <h1>Datasource settings</h1>
  
  <pre><code>hibernate.datasource.driver-class-name=com.mysql.jdbc.Driver
  hibernate.datasource.url=jdbc:mysql://localhost:3306/mydb
  hibernate.datasource.username=root
  hibernate.datasource.password=root
  </code></pre>
  
  <h1>HikariCP Settings</h1>
  
  <pre><code>hibernate.hikari.dataSource.url=jdbc:mysql://localhost:3306/mydb
  hibernate.hikari.idleTimeout=10
  hibernate.hikari.maximumPoolSize=30
  hibernate.hikari.minimumIdle=15
  hibernate.connection.provider_class=com.zaxxer.hikari.hibernate.HikariConnectionProvider
  hibernate.hikari.dataSourceClassName=com.mysql.jdbc.jdbc2.optional.MysqlDataSource
  </code></pre>