com.ibatis.sqlmap.engine.type
public class ParameterSetterImpl extends Object implements ParameterSetter
| Constructor Summary | |
|---|---|
| ParameterSetterImpl(PreparedStatement statement, int columnIndex)
Creates an instance for a PreparedStatement and column index
| |
| Method Summary | |
|---|---|
| int | getParameterIndex() |
| PreparedStatement | getPreparedStatement() |
| void | setArray(Array x) |
| void | setAsciiStream(InputStream x, int length) |
| void | setBigDecimal(BigDecimal x) |
| void | setBinaryStream(InputStream x, int length) |
| void | setBlob(Blob x) |
| void | setBoolean(boolean x) |
| void | setByte(byte x) |
| void | setBytes(byte[] x) |
| void | setCharacterStream(Reader reader, int length) |
| void | setClob(Clob x) |
| void | setDate(Date x) |
| void | setDate(Date x, Calendar cal) |
| void | setDouble(double x) |
| void | setFloat(float x) |
| void | setInt(int x) |
| void | setLong(long x) |
| void | setNull(int sqlType) |
| void | setNull(int sqlType, String typeName) |
| void | setObject(Object x) |
| void | setObject(Object x, int targetSqlType) |
| void | setObject(Object x, int targetSqlType, int scale) |
| void | setRef(Ref x) |
| void | setShort(short x) |
| void | setString(String x) |
| void | setTime(Time x) |
| void | setTime(Time x, Calendar cal) |
| void | setTimestamp(Timestamp x) |
| void | setTimestamp(Timestamp x, Calendar cal) |
| void | setURL(URL x) |
Parameters: statement - the PreparedStatement columnIndex - the column index