Update README.md

pull/2266/head
Brett Wooldridge 3 months ago committed by GitHub
parent 1695eb5012
commit 039942b22f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -367,6 +367,23 @@ be used for various internally scheduled tasks. If supplying HikariCP with a ``
instance, it is recommended that ``setRemoveOnCancelPolicy(true)`` is used.
*Default: none*
&#10145;``exceptionOverride``<br/>
This property is only available via programmatic configuration or IoC container. This property
allows you to set an instance of a class, implementing the ``com.zaxxer.hikari.SQLExceptionOverride``
interface, that will be called before a connection is evicted from the pool due to specific exception
conditions. Typically, when a ``SQLException`` is throw with specific *SQLStates* or *ErrorCodes* are
present. The ``adjudicate()`` method will be called on the ``SQLExceptionOverride`` instance, which
may return either ``Override.CONTINUE_EVICT`` or ``Override.DO_NOT_EVICT``. Except in very specific
cases ``Override.CONTINUE_EVICT`` should be returned.
*Default: none*
&#128292;``exceptionOverrideClassName``<br/>
This property allows you to specify the name of a user-supplied class implementing the
``com.zaxxer.hikari.SQLExceptionOverride`` interface. An instance of the class will be instantiated
by the pool to adjudicate connection evictions. See the above property ``exceptionOverride`` for a
full description.
*Default: none*
----------------------------------------------------
#### Missing Knobs

Loading…
Cancel
Save