Package org.jdbi.v3.core.mapper.reflect
Annotation Type ColumnName
-
@Retention(RUNTIME) @Target({PARAMETER,FIELD,METHOD}) public @interface ColumnNameSpecify the mapping name for a property or parameter explicitly. This annotation is respected by:- BeanMapper, FieldMapper, and ConstructorMapper in core
- The Kotlin data class mapper in KotlinPlugin
- Immutables property definitions
bindBean()), this annotation only applies to mapping, not parameter binding. Refer to such parameters by the property name (:firstName), not the column name (:first_name).
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Stringvalue
-