Package org.jdbi.v3.sqlobject.config
Annotation Type ValueColumn
-
@Target(METHOD) @Retention(RUNTIME) public @interface ValueColumn
Configures the column to use for map values, for SQL methods that returnMap, or Guava's Multimap.Example:
@SqlQuery("select key, value from config") @KeyColumn("key") @ValueColumn("value") Map<String, String> getConfigs();
-
-
Element Detail
-
value
String value
- Returns:
- the column name to use for map values.
-
-