Package org.opencms.db
Class CmsPreparedStatementIntParameter
java.lang.Object
org.opencms.db.CmsPreparedStatementIntParameter
- All Implemented Interfaces:
I_CmsPreparedStatementParameter
public class CmsPreparedStatementIntParameter
extends Object
implements I_CmsPreparedStatementParameter
A prepared statement parameter of type 'int'.
- Since:
- 8.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinsertIntoStatement(PreparedStatement stmt, int index) Implementations of this interface should set the index-th parameter of the prepared statement.
-
Constructor Details
-
CmsPreparedStatementIntParameter
Creates a new parameter value.- Parameters:
param- the int value to use for this parameter
-
-
Method Details
-
insertIntoStatement
Description copied from interface:I_CmsPreparedStatementParameterImplementations of this interface should set the index-th parameter of the prepared statement.- Specified by:
insertIntoStatementin interfaceI_CmsPreparedStatementParameter- 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- See Also:
-