Package org.jdbi.v3.core.enums
Annotation Type EnumByName
-
@Retention(RUNTIME) @Target({FIELD,METHOD,PARAMETER,TYPE}) public @interface EnumByNameSpecifies that anEnumvalue should be bound or mapped as itsEnum.name(). This is typically default behavior. This annotation can be placed on the source enum (class), inSqlStatement.bindByType(String, Object, org.jdbi.v3.core.qualifier.QualifiedType)calls, or on SqlObject methods and parameters. The order of priority, highest to lowest, is- binding/mapping point (fluent API or SqlObject)
- class annotation
Enumsconfig
- See Also:
Enums