Interface I_CmsPreparedStatementParameter

All Known Implementing Classes:
CmsPreparedStatementIntParameter, CmsPreparedStatementLongParameter, CmsPreparedStatementStringParameter

An interface which represents a parameter value which is going to be used in an SQL prepared statement.

Since:
8.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Implementations of this interface should set the index-th parameter of the prepared statement.
  • Method Details

    • insertIntoStatement

      void insertIntoStatement(PreparedStatement stmt, int index) throws SQLException
      Implementations of this interface should set the index-th parameter of the prepared statement.

      Parameters:
      stmt - the prepared statement in which to set the value of a bind variable
      index - the index of a bind variable
      Throws:
      SQLException - if something goes wrong