Package org.jdbi.v3.sqlobject.statement
Annotation Type SqlUpdate
-
@Retention(RUNTIME) @Target(METHOD) public @interface SqlUpdate
Used to indicate that a method should execute a non-query sql statement.
-
-
Element Detail
-
value
String value
The sql (or statement name if using a statement locator) to be executed. The default value will use the method name of the method being annotated. This default behavior is only useful in conjunction with a statement locator.- Returns:
- the SQL string (or name)
- Default:
- ""
-
-