Documentation Home
MySQL Connector/J 8.0 Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 0.8Mb
PDF (A4) - 0.8Mb
HTML Download (TGZ) - 146.6Kb
HTML Download (Zip) - 166.0Kb


6.3.15 Exceptions/Warnings

  • dumpQueriesOnException

    Should the driver dump the contents of the query sent to the server in the message for SQLExceptions?

    Default Value false
    Since Version 3.1.3
  • exceptionInterceptors

    Comma-delimited list of classes that implement com.mysql.cj.exceptions.ExceptionInterceptor. These classes will be instantiated one per Connection instance, and all SQLExceptions thrown by the driver will be allowed to be intercepted by these interceptors, in a chained fashion, with the first class listed as the head of the chain.

    Since Version 5.1.8
  • ignoreNonTxTables

    Ignore non-transactional table warning for rollback? (defaults to 'false').

    Default Value false
    Since Version 3.0.9
  • includeInnodbStatusInDeadlockExceptions

    Include the output of "SHOW ENGINE INNODB STATUS" in exception messages when deadlock exceptions are detected?

    Default Value false
    Since Version 5.0.7
  • includeThreadDumpInDeadlockExceptions

    Include a current Java thread dump in exception messages when deadlock exceptions are detected?

    Default Value false
    Since Version 5.1.15
  • includeThreadNamesAsStatementComment

    Include the name of the current thread as a comment visible in "SHOW PROCESSLIST", or in Innodb deadlock dumps, useful in correlation with "includeInnodbStatusInDeadlockExceptions=true" and "includeThreadDumpInDeadlockExceptions=true".

    Default Value false
    Since Version 5.1.15
  • useOnlyServerErrorMessages

    Don't prepend 'standard' SQLState error messages to error messages returned by the server.

    Default Value true
    Since Version 3.0.15