Class YamlConverter

java.lang.Object
io.mateu.util.servlet.common.YamlConverter
All Implemented Interfaces:
javax.persistence.AttributeConverter<Object,String>

public class YamlConverter extends Object implements javax.persistence.AttributeConverter<Object,String>
  • Constructor Details

    • YamlConverter

      public YamlConverter()
  • Method Details

    • convertToDatabaseColumn

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

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