@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface Query
NamedParameterJdbcTemplate.
Those parameters will get bound to the arguments of the annotated method.| Modifier and Type | Required Element and Description |
|---|---|
String |
value
The SQL statement to execute when the annotated method gets invoked.
|
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends RowMapper> |
rowMapperClass
Optional
RowMapper to use to convert the result of the query to domain class instances. |
public abstract String value
Copyright © 2017–2019 Pivotal Software, Inc.. All rights reserved.