Class JacksonOsonFormatMapper

java.lang.Object
org.hibernate.type.format.AbstractJsonFormatMapper
org.hibernate.type.format.jackson.JacksonOsonFormatMapper
All Implemented Interfaces:
FormatMapper

public final class JacksonOsonFormatMapper extends AbstractJsonFormatMapper
Implementation of FormatMapper for Oracle OSON support
  • Field Details

  • Constructor Details

    • JacksonOsonFormatMapper

      public JacksonOsonFormatMapper()
      Creates a new JacksonOsonFormatMapper
    • JacksonOsonFormatMapper

      public JacksonOsonFormatMapper(FormatMapperCreationContext creationContext)
    • JacksonOsonFormatMapper

      public JacksonOsonFormatMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
  • Method Details

    • writeToTarget

      public <T> void writeToTarget(T value, JavaType<T> javaType, Object target, WrapperOptions options) throws IOException
      Throws:
      IOException
    • readFromSource

      public <T> T readFromSource(JavaType<T> javaType, Object source, WrapperOptions options) throws IOException
      Throws:
      IOException
    • supportsSourceType

      public boolean supportsSourceType(Class<?> sourceType)
      Description copied from interface: FormatMapper
      Checks that this mapper supports a type as a source type.
      Parameters:
      sourceType - the source type
      Returns:
      true if the type is supported, false otherwise.
    • supportsTargetType

      public boolean supportsTargetType(Class<?> targetType)
      Description copied from interface: FormatMapper
      Checks that this mapper supports a type as a target type.
      Parameters:
      targetType - the target type
      Returns:
      true if the type is supported, false otherwise.
    • fromString

      public <T> T fromString(CharSequence charSequence, Type type)
      Specified by:
      fromString in class AbstractJsonFormatMapper
    • toString

      public <T> String toString(T value, Type type)
      Specified by:
      toString in class AbstractJsonFormatMapper