public class CmsPreparedStatementStringParameter extends java.lang.Object implements I_CmsPreparedStatementParameter
| 构造器和说明 |
|---|
CmsPreparedStatementStringParameter(java.lang.String param)
Constructs a new prepared statement parameter with a value of type 'string'.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 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)