com.ibatis.sqlmap.client.extensions
public interface ParameterSetter
| Method Summary | |
|---|---|
| int | getParameterIndex()
Returns the index of the parameter being set.
|
| PreparedStatement | getPreparedStatement()
Returns the underlying prepared statement...be careful! |
| void | setArray(Array x)
Set an array on the underlying prepared statement |
| void | setAsciiStream(InputStream x, int length)
Set an InputStream on the underlying prepared statement |
| void | setBigDecimal(BigDecimal x)
Set an on the underlying prepared statement |
| void | setBinaryStream(InputStream x, int length)
Set an InputStream on the underlying prepared statement |
| void | setBlob(Blob x)
Set a blob on the underlying prepared statement |
| void | setBoolean(boolean x)
Set a boolean on the underlying prepared statement |
| void | setByte(byte x)
Set a byte on the underlying prepared statement |
| void | setBytes(byte[] x)
Set a byte array on the underlying prepared statement |
| void | setCharacterStream(Reader reader, int length)
Set a character stream on the underlying prepared statement |
| void | setClob(Clob x)
Set a clob on the underlying prepared statement |
| void | setDate(Date x)
Set a date on the underlying prepared statement |
| void | setDate(Date x, Calendar cal)
Set a date with a calendar on the underlying prepared statement |
| void | setDouble(double x)
Set a double on the underlying prepared statement |
| void | setFloat(float x)
Set a float on the underlying prepared statement |
| void | setInt(int x)
Set an integer on the underlying prepared statement |
| void | setLong(long x)
Set a long on the underlying prepared statement |
| void | setNull(int sqlType)
Set a null on the underlying prepared statement |
| void | setNull(int sqlType, String typeName)
Set a null on the underlying prepared statement |
| void | setObject(Object x)
Set an object on the underlying prepared statement |
| void | setObject(Object x, int targetSqlType)
Set an object on the underlying prepared statement |
| void | setObject(Object x, int targetSqlType, int scale)
Set an object on the underlying prepared statement |
| void | setRef(Ref x)
Set a reference on the underlying prepared statement |
| void | setShort(short x)
Set a short on the underlying prepared statement |
| void | setString(String x)
Set a string on the underlying prepared statement |
| void | setTime(Time x)
Set a time on the underlying prepared statement |
| void | setTime(Time x, Calendar cal)
Set a time with a calendar on the underlying prepared statement |
| void | setTimestamp(Timestamp x)
Set a timestamp on the underlying prepared statement |
| void | setTimestamp(Timestamp x, Calendar cal)
Set a timestamp on the underlying prepared statement |
| void | setURL(URL x)
Set a URL on the underlying prepared statement |
Returns: the parameter index used to set the value in the underlying PreparedStatement
Parameters: x - the array to set
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the InputStream length - the length of the InputStream
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the InputStream length - the length of the InputStream
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the blob
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the boolean
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the byte
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the byte[]
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: reader - the reader length - the length of the reader
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the clob
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the date
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the date cal - the calendar
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the double
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x the float
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the int
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the long
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: sqlType - the type for the null value
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: sqlType - the type for the null value typeName - the name of the type
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the object to set
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the object to set targetSqlType - the sql type of the object
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the object to set targetSqlType - the sql type of the object scale - the scale of the object
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the reference to set
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the short to set
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the string to set
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the time to set
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the time to set cal - the calendar to use
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the timestamp to set
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the timestamp to set cal - the calendar to use
Throws: SQLException - thrown if the underlying prepared statement throws it
Parameters: x - the url to set
Throws: SQLException - thrown if the underlying prepared statement throws it