public class CmsPreparedStatementStringParameter extends java.lang.Object implements I_CmsPreparedStatementParameter
| Constructor and Description |
|---|
CmsPreparedStatementStringParameter(java.lang.String param)
Constructs a new prepared statement parameter with a value of type 'string'.
|
| 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 CmsPreparedStatementStringParameter(java.lang.String param)
param - the string valuepublic 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)