Class EnumValueConverter

  • All Implemented Interfaces:
    jakarta.persistence.AttributeConverter<EnumValue,​String>

    public class EnumValueConverter
    extends Object
    implements jakarta.persistence.AttributeConverter<EnumValue,​String>
    • Constructor Detail

      • EnumValueConverter

        public EnumValueConverter()
    • Method Detail

      • convertToDatabaseColumn

        public String convertToDatabaseColumn​(EnumValue domainValue)
        Specified by:
        convertToDatabaseColumn in interface jakarta.persistence.AttributeConverter<EnumValue,​String>
      • convertToEntityAttribute

        public EnumValue convertToEntityAttribute​(String dbData)
        Specified by:
        convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<EnumValue,​String>