Interface ExceptionTranslatorExecuteListener

All Superinterfaces:
EventListener, org.jooq.ExecuteListener, Serializable

public interface ExceptionTranslatorExecuteListener extends org.jooq.ExecuteListener
An ExecuteListener used by the auto-configured DefaultExecuteListenerProvider to translate exceptions in the ExecuteContext. Most commonly used to translate SQLExceptions to Spring-specific DataAccessExceptions by adapting an existing SQLExceptionTranslator.
Since:
3.3.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Default ExceptionTranslatorExecuteListener suitable for most applications.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    of(Function<org.jooq.ExecuteContext,org.springframework.jdbc.support.SQLExceptionTranslator> translatorFactory)
    Creates a new ExceptionTranslatorExecuteListener backed by an SQLExceptionTranslator.

    Methods inherited from interface org.jooq.ExecuteListener

    bindEnd, bindStart, end, exception, executeEnd, executeStart, fetchEnd, fetchStart, outEnd, outStart, prepareEnd, prepareStart, recordEnd, recordStart, renderEnd, renderStart, resultEnd, resultStart, start, warning