Package org.jdbi.v3.sqlobject.statement
Annotation Type SqlQuery
Used to indicate that a method should execute a query.
-
Optional Element Summary
-
Element Details
-
value
String valueThe 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:
""
-