Class ObjectJdbcType

    • Field Detail

      • INSTANCE

        public static final ObjectJdbcType INSTANCE
        Singleton access
    • Constructor Detail

      • ObjectJdbcType

        public ObjectJdbcType​(int jdbcTypeCode)
    • Method Detail

      • getBinder

        public <X> ValueBinder<X> getBinder​(JavaType<X> javaTypeDescriptor)
        Description copied from interface: JdbcType
        Get the binder (setting JDBC in-going parameter values) capable of handling values of the type described by the passed descriptor.
        Specified by:
        getBinder in interface JdbcType
        Parameters:
        javaTypeDescriptor - The descriptor describing the types of Java values to be bound
        Returns:
        The appropriate binder.
      • getExtractor

        public <X> ValueExtractor<X> getExtractor​(JavaType<X> javaTypeDescriptor)
        Description copied from interface: JdbcType
        Get the extractor (pulling out-going values from JDBC objects) capable of handling values of the type described by the passed descriptor.
        Specified by:
        getExtractor in interface JdbcType
        Parameters:
        javaTypeDescriptor - The descriptor describing the types of Java values to be extracted
        Returns:
        The appropriate extractor