Package org.jdbi.v3.core.enums
Annotation Type EnumByOrdinal
-
@Retention(RUNTIME) @Target({FIELD,METHOD,PARAMETER,TYPE}) public @interface EnumByOrdinalSpecifies that anEnumvalue should be bound or mapped as itsEnum.ordinal(). 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