Class ScheduledJobDetailValueConverter

  • All Implemented Interfaces:
    javax.persistence.AttributeConverter<Object,​String>

    public class ScheduledJobDetailValueConverter
    extends Object
    implements javax.persistence.AttributeConverter<Object,​String>
    Transforms an Object into a JSON object String and vice-versa.
    Author:
    Samarth Dhruva (samarthd)
    • Constructor Detail

      • ScheduledJobDetailValueConverter

        public ScheduledJobDetailValueConverter​(@Nullable @Qualifier("converterObjectMapper")
                                                com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • convertToDatabaseColumn

        public String convertToDatabaseColumn​(Object attribute)
        Specified by:
        convertToDatabaseColumn in interface javax.persistence.AttributeConverter<Object,​String>
      • convertToEntityAttribute

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