Add ORA-02399: exceeded maximum connect time to SQL_ERRORS.
Not handling it avoids eviction of the connection and corrupts the pool. For example the following NullPointerException is thrown when trying to use the pool afterwards: java.lang.NullPointerException at com.zaxxer.hikari.pool.PoolBase.isConnectionAlive(PoolBase.java:128) at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:171) at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:147) at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:99) .......pull/611/head
parent
0e08531a23
commit
50ce1a1acc
Loading…
Reference in New Issue