public interface ParameterSetter
| Modifier and Type | Method and Description |
|---|---|
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
|
void setArray(Array x) throws SQLException
x - - the array to setSQLException - - thrown if the underlying prepared statement throws itvoid setAsciiStream(InputStream x, int length) throws SQLException
x - - the InputStreamlength - - the length of the InputStreamSQLException - - thrown if the underlying prepared statement throws itvoid setBigDecimal(BigDecimal x) throws SQLException
x - SQLException - - thrown if the underlying prepared statement throws itvoid setBinaryStream(InputStream x, int length) throws SQLException
x - - the InputStreamlength - - the length of the InputStreamSQLException - - thrown if the underlying prepared statement throws itvoid setBlob(Blob x) throws SQLException
x - - the blobSQLException - - thrown if the underlying prepared statement throws itvoid setBoolean(boolean x)
throws SQLException
x - - the booleanSQLException - - thrown if the underlying prepared statement throws itvoid setByte(byte x)
throws SQLException
x - - the byteSQLException - - thrown if the underlying prepared statement throws itvoid setBytes(byte[] x)
throws SQLException
x - - the byte[]SQLException - - thrown if the underlying prepared statement throws itvoid setCharacterStream(Reader reader, int length) throws SQLException
reader - - the readerlength - - the length of the readerSQLException - - thrown if the underlying prepared statement throws itvoid setClob(Clob x) throws SQLException
x - - the clobSQLException - - thrown if the underlying prepared statement throws itvoid setDate(Date x) throws SQLException
x - - the dateSQLException - - thrown if the underlying prepared statement throws itvoid setDate(Date x, Calendar cal) throws SQLException
x - - the datecal - - the calendarSQLException - - thrown if the underlying prepared statement throws itvoid setDouble(double x)
throws SQLException
x - - the doubleSQLException - - thrown if the underlying prepared statement throws itvoid setFloat(float x)
throws SQLException
x - the floatSQLException - - thrown if the underlying prepared statement throws itvoid setInt(int x)
throws SQLException
x - - the intSQLException - - thrown if the underlying prepared statement throws itvoid setLong(long x)
throws SQLException
x - - the longSQLException - - thrown if the underlying prepared statement throws itvoid setNull(int sqlType)
throws SQLException
sqlType - - the type for the null valueSQLException - - thrown if the underlying prepared statement throws itvoid setNull(int sqlType,
String typeName)
throws SQLException
sqlType - - the type for the null valuetypeName - - the name of the typeSQLException - - thrown if the underlying prepared statement throws itvoid setObject(Object x) throws SQLException
x - - the object to setSQLException - - thrown if the underlying prepared statement throws itvoid setObject(Object x, int targetSqlType) throws SQLException
x - - the object to settargetSqlType - - the sql type of the objectSQLException - - thrown if the underlying prepared statement throws itvoid setObject(Object x, int targetSqlType, int scale) throws SQLException
x - - the object to settargetSqlType - - the sql type of the objectscale - - the scale of the objectSQLException - - thrown if the underlying prepared statement throws itvoid setRef(Ref x) throws SQLException
x - - the reference to setSQLException - - thrown if the underlying prepared statement throws itvoid setShort(short x)
throws SQLException
x - - the short to setSQLException - - thrown if the underlying prepared statement throws itvoid setString(String x) throws SQLException
x - - the string to setSQLException - - thrown if the underlying prepared statement throws itvoid setTime(Time x) throws SQLException
x - - the time to setSQLException - - thrown if the underlying prepared statement throws itvoid setTime(Time x, Calendar cal) throws SQLException
x - - the time to setcal - - the calendar to useSQLException - - thrown if the underlying prepared statement throws itvoid setTimestamp(Timestamp x) throws SQLException
x - - the timestamp to setSQLException - - thrown if the underlying prepared statement throws itvoid setTimestamp(Timestamp x, Calendar cal) throws SQLException
x - - the timestamp to setcal - - the calendar to useSQLException - - thrown if the underlying prepared statement throws itvoid setURL(URL x) throws SQLException
x - - the url to setSQLException - - thrown if the underlying prepared statement throws itPreparedStatement getPreparedStatement()
int getParameterIndex()
Copyright © 2084–2018 dukeware.com. All rights reserved.