|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.db.CmsPreparedStatementIntParameter
public class CmsPreparedStatementIntParameter
A prepared statement parameter of type 'int'.
| Constructor Summary | |
|---|---|
CmsPreparedStatementIntParameter(int param)
Creates a new parameter value. |
|
| Method Summary | |
|---|---|
void |
insertIntoStatement(PreparedStatement stmt,
int index)
Implementations of this interface should set the index-th parameter of the prepared statement. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsPreparedStatementIntParameter(int param)
param - the int value to use for this parameter| Method Detail |
|---|
public void insertIntoStatement(PreparedStatement stmt,
int index)
throws SQLException
I_CmsPreparedStatementParameter
insertIntoStatement in interface I_CmsPreparedStatementParameterstmt - the prepared statement in which to set the value of a bind variableindex - the index of a bind variable
SQLException - if something goes wrongI_CmsPreparedStatementParameter.insertIntoStatement(java.sql.PreparedStatement, int)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||