From 5df12d68120dd154133a4d073ba99cc7edc9af27 Mon Sep 17 00:00:00 2001 From: Brett Wooldridge Date: Sun, 17 Nov 2024 03:58:18 +0900 Subject: [PATCH] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 641101bf7..097fcdf0c 100644 --- a/README.md +++ b/README.md @@ -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* 🔤``exceptionOverrideClassName``