Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
insertIntoStatement(java.sql.PreparedStatement stmt, int index)
Implementations of this interface should set the index-th parameter of the prepared statement.
-
-
-
Method Detail
-
insertIntoStatement
void insertIntoStatement(java.sql.PreparedStatement stmt, int index) throws java.sql.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 variableindex
- the index of a bind variable- Throws:
java.sql.SQLException
- if something goes wrong
-
-