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