Class AbstractMapConverter<K,​V>

    • Constructor Detail

      • AbstractMapConverter

        public AbstractMapConverter​(Class<?> keyType,
                                    Class<?> valueType,
                                    @Nullable
                                    com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      • AbstractMapConverter

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

      • convertToDatabaseColumn

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

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

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