Package org.jdbi.v3.core.enums
package org.jdbi.v3.core.enums
Configuration and annotations for binding and mapping Java
Enum types. Enums can be persisted by name or by
ordinal, controlled through the Enums
configuration class or the EnumByName
and EnumByOrdinal annotations.
-
ClassDescriptionMap a value from the database column directly onto an enum value.Specifies that an
Enumvalue should be bound or mapped as itsEnum.name().Specifies that anEnumvalue should be bound or mapped as itsEnum.ordinal().Configuration for behavior related toEnums.