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