Class XmlJdbcType.XmlValueBinder<X>

    • Constructor Detail

      • XmlValueBinder

        public XmlValueBinder​(JavaType<X> javaType,
                              JdbcType jdbcType)
    • Method Detail

      • doBind

        protected void doBind​(PreparedStatement st,
                              X value,
                              int index,
                              WrapperOptions options)
                       throws SQLException
        Description copied from class: BasicBinder
        Perform the binding. Safe to assume that value is not null.
        Specified by:
        doBind in class BasicBinder<X>
        Parameters:
        st - The prepared statement
        value - The value to bind (not null).
        index - The index at which to bind
        options - The binding options
        Throws:
        SQLException - Indicates a problem binding to the prepared statement.
      • doBind

        protected void doBind​(CallableStatement st,
                              X value,
                              String name,
                              WrapperOptions options)
                       throws SQLException
        Description copied from class: BasicBinder
        Perform the binding. Safe to assume that value is not null.
        Specified by:
        doBind in class BasicBinder<X>
        Parameters:
        st - The CallableStatement
        value - The value to bind (not null).
        name - The name at which to bind
        options - The binding options
        Throws:
        SQLException - Indicates a problem binding to the callable statement.