|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.db.CmsPreparedStatementStringParameter
public class CmsPreparedStatementStringParameter
A prepared statement parameter of type 'string'.
| Constructor Summary | |
|---|---|
CmsPreparedStatementStringParameter(String param)
Constructs a new prepared statement parameter with a value of type 'string'. |
|
| 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 CmsPreparedStatementStringParameter(String param)
param - the string value| 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 | |||||||