Class AbstractSetConverter<T>

    • Constructor Detail

      • AbstractSetConverter

        public AbstractSetConverter​(Class<T> elementType,
                                    @Nullable
                                    com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • AbstractSetConverter

        public AbstractSetConverter​(Class<T> elementType,
                                    @Nullable
                                    com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                    boolean initIfNull)
    • Method Detail

      • convertToDatabaseColumn

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

        public HashSet<T> convertToEntityAttribute​(String mapJson)
        Specified by:
        convertToEntityAttribute in interface javax.persistence.AttributeConverter<HashSet<T>,​String>
      • getObjectMapper

        public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()