Annotation Interface RegisterSqlExceptionHandler


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Repeatable(RegisterSqlExceptionHandlers.class) @Beta public @interface RegisterSqlExceptionHandler
Register a SQLException handler in the context of a SQL Object type or method.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The exception handler class to register
  • Element Details

    • value

      Class<? extends SqlExceptionHandler> value
      The exception handler class to register
      Returns:
      the exception handler class