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
Modifier and TypeMethodDescriptionvoid
insertIntoStatement
(PreparedStatement stmt, int index) Implementations of this interface should set the index-th parameter of the prepared statement.
-
Method Details
-
insertIntoStatement
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:
SQLException
- if something goes wrong
-