Skip to content

Instantly share code, notes, and snippets.

  • Select an option

  • Save juarezjuniorgithub/93ec237803e6caa0613cee2db64ea149 to your computer and use it in GitHub Desktop.

Select an option

Save juarezjuniorgithub/93ec237803e6caa0613cee2db64ea149 to your computer and use it in GitHub Desktop.
HikariCP properties that don’t have identical UCP properties to match but do have other mechanisms like driver properties or UCP APIs
HikariCP Comments
autoCommit Use Oracle JDBC driver connection property autoCommit.
registerMbeans UCP always attempts registration.
threadFactory UCP supports setTaskManager instead (setter API only).
scheduledExecutor UCP supports setTaskManager instead (setter API only).
keepaliveTime Closest is to use driver connection properties oracle.net.keepAlive + oracle.net.TCP_KEEPIDLE which apply to all connections borrowed/available. The HikariCP property applies only to idle/available connections and uses isValid/query to keep alive. Another option is to add async validation in UCP for available connections.
minimumIdle Controls the minimum number of idle connections HikariCP tries to maintain in the pool.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment