Class OptionalBooleanConverter

java.lang.Object
com.broadleafcommerce.auth.server.provider.jpa.converter.OptionalBooleanConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<Boolean,Character>

public class OptionalBooleanConverter extends Object implements jakarta.persistence.AttributeConverter<Boolean,Character>
  • Constructor Details

    • OptionalBooleanConverter

      public OptionalBooleanConverter()
  • Method Details

    • convertToDatabaseColumn

      public Character convertToDatabaseColumn(Boolean attribute)
      Specified by:
      convertToDatabaseColumn in interface jakarta.persistence.AttributeConverter<Boolean,Character>
    • convertToEntityAttribute

      public Boolean convertToEntityAttribute(Character dbData)
      Specified by:
      convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<Boolean,Character>