Class AbstractListConverter<T>

    • Constructor Detail

      • AbstractListConverter

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

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

      • convertToDatabaseColumn

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

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

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