title: HikariConfig pool for Oracle
body: <p>I want to configure HikariConfig pool for Oracle:</p>
  
  <pre><code>Properties props = new Properties();
          props.setProperty("dataSourceClassName",     "oracle.jdbc.driver.OracleDriver");
          props.setProperty("dataSource.user",         bundle.getString("db.user"));
          props.setProperty("dataSource.password",     bundle.getString("db.password"));
          props.setProperty("dataSource.databaseName", "xe");
  
          config = new HikariConfig(props);
          ds = new HikariDataSource(config);
  </code></pre>
  
  <p>But I got this error</p>
  
  <pre><code>Exception in thread "main" java.lang.RuntimeException: java.lang.ClassCastException: Cannot cast oracle.jdbc.driver.OracleDriver to javax.sql.DataSource
      at com.zaxxer.hikari.util.UtilityElf.createInstance(UtilityElf.java:93)
      at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:339)
      at com.zaxxer.hikari.pool.PoolBase.&lt;init&gt;(PoolBase.java:118)
      at com.zaxxer.hikari.pool.HikariPool.&lt;init&gt;(HikariPool.java:106)
      at com.zaxxer.hikari.HikariDataSource.&lt;init&gt;(HikariDataSource.java:72)
      at 
  </code></pre>