Update README.md

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

@ -371,10 +371,11 @@ instance, it is recommended that ``setRemoveOnCancelPolicy(true)`` is used.
This property is only available via programmatic configuration or IoC container. This property 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`` 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 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 conditions. Typically, when a ``SQLException`` is thrown, connections are evicted from the pool when
present. The ``adjudicate()`` method will be called on the ``SQLExceptionOverride`` instance, which specific *SQLStates* or *ErrorCodes* are present. The ``adjudicate()`` method will be called on the
may return either ``Override.CONTINUE_EVICT`` or ``Override.DO_NOT_EVICT``. Except in very specific ``SQLExceptionOverride`` instance, which may return one of: ``Override.CONTINUE_EVICT``.
cases ``Override.CONTINUE_EVICT`` should be returned. ``Override.DO_NOT_EVICT`` or ``Override.MUST_EVICT``. Except in very specific cases
``Override.CONTINUE_EVICT`` should be returned, allowing the default evict/no-evict logic to execute.
*Default: none* *Default: none*
&#128292;``exceptionOverrideClassName``<br/> &#128292;``exceptionOverrideClassName``<br/>

Loading…
Cancel
Save