Class StringCollectionConverter

java.lang.Object
io.jmix.securitydata.entity.StringCollectionConverter
All Implemented Interfaces:
jakarta.persistence.AttributeConverter<Set<String>,String>

public class StringCollectionConverter extends Object implements jakarta.persistence.AttributeConverter<Set<String>,String>
  • Field Details

  • Constructor Details

    • StringCollectionConverter

      public StringCollectionConverter()
  • Method Details

    • convertToDatabaseColumn

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

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