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 ElementsModifier and TypeRequired ElementDescriptionClass<? extends SqlExceptionHandler> The exception handler class to register
-
Element Details
-
value
Class<? extends SqlExceptionHandler> valueThe exception handler class to register- Returns:
- the exception handler class
-