Interface ParamMapper


public interface ParamMapper
Maps and binds a parameter to a JDBC PreparedStatement. Implementations set the value for a specific parameter index.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    set(PreparedStatement ps, int index)
    Binds a parameter value to the given PreparedStatement at the specified index.
  • Method Details

    • set

      void set(PreparedStatement ps, int index) throws SQLException
      Binds a parameter value to the given PreparedStatement at the specified index.
      Parameters:
      ps - the PreparedStatement to bind to
      index - the parameter index (1-based)
      Throws:
      SQLException - if binding fails or a database error occurs