org.opencms.db
Interface I_CmsPreparedStatementParameter

All Known Implementing Classes:
CmsPreparedStatementIntParameter, CmsPreparedStatementLongParameter, CmsPreparedStatementStringParameter

public interface I_CmsPreparedStatementParameter

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

Since:
8.0.0

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

Method Detail

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