Class StringMapConverter

java.lang.Object
org.exoplatform.commons.utils.StringMapConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<Map<String,String>,String>

public class StringMapConverter extends Object implements jakarta.persistence.AttributeConverter<Map<String,String>,String>
  • Constructor Details

    • StringMapConverter

      public StringMapConverter()
  • Method Details

    • convertToDatabaseColumn

      public String convertToDatabaseColumn(Map<String,String> attributes)
      Specified by:
      convertToDatabaseColumn in interface jakarta.persistence.AttributeConverter<Map<String,String>,String>
    • convertToEntityAttribute

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