Annotation Type EnumByName


@Retention(RUNTIME) @Target({FIELD,METHOD,PARAMETER,TYPE}) public @interface EnumByName
Specifies that an Enum value should be bound or mapped as its Enum.name(). This is typically default behavior. This annotation can be placed on the source enum (class), in SqlStatement.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
  • Enums config
See Also:
Enums