Class MapStringConverter

java.lang.Object
org.keycloak.models.jpa.converter.MapStringConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<Map<String,String>,String>

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

    • MapStringConverter

      public MapStringConverter()
  • Method Details

    • convertToDatabaseColumn

      public String convertToDatabaseColumn(Map<String,String> attribute)
      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>