Skip to content

Commit 5df12d6

Browse files
Update README.md
1 parent ec6891a commit 5df12d6

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,11 @@ instance, it is recommended that ``setRemoveOnCancelPolicy(true)`` is used.
371371
This property is only available via programmatic configuration or IoC container. This property
372372
allows you to set an instance of a class, implementing the ``com.zaxxer.hikari.SQLExceptionOverride``
373373
interface, that will be called before a connection is evicted from the pool due to specific exception
374-
conditions. Typically, when a ``SQLException`` is throw with specific *SQLStates* or *ErrorCodes* are
375-
present. The ``adjudicate()`` method will be called on the ``SQLExceptionOverride`` instance, which
376-
may return either ``Override.CONTINUE_EVICT`` or ``Override.DO_NOT_EVICT``. Except in very specific
377-
cases ``Override.CONTINUE_EVICT`` should be returned.
374+
conditions. Typically, when a ``SQLException`` is thrown, connections are evicted from the pool when
375+
specific *SQLStates* or *ErrorCodes* are present. The ``adjudicate()`` method will be called on the
376+
``SQLExceptionOverride`` instance, which may return one of: ``Override.CONTINUE_EVICT``.
377+
``Override.DO_NOT_EVICT`` or ``Override.MUST_EVICT``. Except in very specific cases
378+
``Override.CONTINUE_EVICT`` should be returned, allowing the default evict/no-evict logic to execute.
378379
*Default: none*
379380

380381
&#128292;``exceptionOverrideClassName``<br/>

0 commit comments

Comments
 (0)