Interface ScalarTypeEnum<T>

All Superinterfaces:
ScalarDataReader<T>, ScalarType<T>, StringFormatter, StringParser

public interface ScalarTypeEnum<T> extends ScalarType<T>
Marker interface for the Enum scalar types.
  • Method Details

    • getDbCheckConstraintValues

      Set<String> getDbCheckConstraintValues()
      Return the IN values for DB constraint construction.
    • isOverrideBy

      default boolean isOverrideBy(jakarta.persistence.EnumType type)
      Return true if we allow this scalar enum type to be overridden. Ability to override the built-in support for java time DayOfWeek and Month.
    • isCompatible

      boolean isCompatible(jakarta.persistence.EnumType enumType)
      Return true if the scalar type is compatible with the specified enum type.