Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
brettwooldridge authored Nov 16, 2024
1 parent ec6891a commit 5df12d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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.
conditions. Typically, when a ``SQLException`` is thrown, connections are evicted from the pool when
specific *SQLStates* or *ErrorCodes* are present. The ``adjudicate()`` method will be called on the
``SQLExceptionOverride`` instance, which may return one of: ``Override.CONTINUE_EVICT``.
``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*

&#128292;``exceptionOverrideClassName``<br/>
Expand Down

0 comments on commit 5df12d6

Please sign in to comment.