Class JooqExceptionTranslator

java.lang.Object
org.jooq.impl.DefaultExecuteListener
org.springframework.boot.autoconfigure.jooq.JooqExceptionTranslator
All Implemented Interfaces:
Serializable, EventListener, org.jooq.ExecuteListener

public class JooqExceptionTranslator extends org.jooq.impl.DefaultExecuteListener
Transforms SQLException into a Spring-specific DataAccessException.
Since:
1.5.10
Author:
Lukas Eder, Andreas Ahlenstorf, Phillip Webb, Stephane Nicoll
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    exception(org.jooq.ExecuteContext context)
     

    Methods inherited from class org.jooq.impl.DefaultExecuteListener

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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JooqExceptionTranslator

      public JooqExceptionTranslator()
  • Method Details

    • exception

      public void exception(org.jooq.ExecuteContext context)
      Specified by:
      exception in interface org.jooq.ExecuteListener
      Overrides:
      exception in class org.jooq.impl.DefaultExecuteListener