Package org.jdbi.v3.core.enums
Annotation Type EnumByOrdinal
Specifies that an
Enum value should be bound or mapped as its Enum.ordinal().
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
Enumsconfig
- See Also: