public class CmsPreparedStatementIntParameter extends java.lang.Object implements I_CmsPreparedStatementParameter
| Constructor and Description |
|---|
CmsPreparedStatementIntParameter(int param)
Creates a new parameter value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
insertIntoStatement(java.sql.PreparedStatement stmt,
int index)
Implementations of this interface should set the index-th parameter of the prepared statement.
|
public CmsPreparedStatementIntParameter(int param)
param - the int value to use for this parameterpublic void insertIntoStatement(java.sql.PreparedStatement stmt, int index) throws java.sql.SQLException
I_CmsPreparedStatementParameterinsertIntoStatement in interface I_CmsPreparedStatementParameterstmt - the prepared statement in which to set the value of a bind variableindex - the index of a bind variablejava.sql.SQLException - if something goes wrongI_CmsPreparedStatementParameter.insertIntoStatement(java.sql.PreparedStatement, int)