Class XmlJdbcType.XmlValueBinder<X>

java.lang.Object
org.hibernate.type.descriptor.jdbc.BasicBinder<X>
org.hibernate.type.descriptor.jdbc.XmlJdbcType.XmlValueBinder<X>
All Implemented Interfaces:
Serializable, ValueBinder<X>
Enclosing class:
XmlJdbcType

protected static class XmlJdbcType.XmlValueBinder<X> extends BasicBinder<X>
See Also:
  • Constructor Details

  • Method Details

    • 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.