|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.jdbc.WrapperImpl
com.metamatrix.jdbc.MMStatement
com.metamatrix.jdbc.MMPreparedStatement
public class MMPreparedStatement
Instances of PreparedStatement contain a SQL statement that has already been compiled. The SQL statement contained in a PreparedStatement object may have one or more IN parameters. An IN parameter is a parameter whose value is not specified when a SQL statement is created. Instead the statement has a placeholder for each IN parameter.
The MMPreparedStatement object wraps the server's PreparedStatement object. The methods in this class are used to set the IN parameters on a server's preparedstatement object.
Field Summary | |
---|---|
protected java.util.List<java.util.List<java.lang.Object>> |
batchParameterList
|
protected java.lang.String |
prepareSql
|
Fields inherited from class com.metamatrix.jdbc.MMStatement |
---|
CANCELLED, commandStatus, currentRequestID, NO_TIMEOUT, outParamIndexMap, queryTimeout, resultSet, TIMED_OUT, updateCounts |
Fields inherited from interface java.sql.Statement |
---|
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO |
Method Summary | |
---|---|
void |
addBatch()
Adds a set of parameters to this PreparedStatement object's list of commands to be sent to the database for execution as a batch. |
void |
addBatch(java.lang.String sql)
Adds sql to this statement object's current list of commands. |
void |
clearBatch()
Makes the set of commands in the current batch empty. |
void |
clearParameters()
Clears the values set for the PreparedStatement object's IN parameters and releases the resources used by those values. |
protected RequestMessage |
createRequestMessage(java.lang.String[] commands,
boolean isBatchedCommand,
java.lang.Boolean requiresResultSet)
|
boolean |
execute()
|
boolean |
execute(java.lang.String sql)
|
int[] |
executeBatch()
|
java.sql.ResultSet |
executeQuery()
|
java.sql.ResultSet |
executeQuery(java.lang.String sql)
|
int |
executeUpdate()
|
int |
executeUpdate(java.lang.String sql)
|
java.sql.ResultSetMetaData |
getMetaData()
Retreives a ResultSetMetaData object with information about the numbers, types, and properties of columns in the ResultSet object that will be returned when this preparedstatement object is executed. |
java.sql.ParameterMetaData |
getParameterMetaData()
|
void |
setArray(int parameterIndex,
java.sql.Array x)
|
void |
setAsciiStream(int parameterIndex,
java.io.InputStream x)
|
void |
setAsciiStream(int parameterIndex,
java.io.InputStream in,
int length)
Sets the parameter in position parameterIndex to the input stream object fin, from which length bytes will be read and sent to metamatrix. |
void |
setAsciiStream(int parameterIndex,
java.io.InputStream x,
long length)
|
void |
setBigDecimal(int parameterIndex,
java.math.BigDecimal value)
Sets the IN parameter at paramaterIndex to a BigDecimal object. |
void |
setBinaryStream(int parameterIndex,
java.io.InputStream x)
|
void |
setBinaryStream(int parameterIndex,
java.io.InputStream in,
int length)
Sets the parameter in position parameterIndex to the input stream object fin, from which length bytes will be read and sent to metamatrix. |
void |
setBinaryStream(int parameterIndex,
java.io.InputStream x,
long length)
|
void |
setBlob(int parameterIndex,
java.sql.Blob x)
Sets the parameter in position parameterIndex to a Blob object. |
void |
setBlob(int parameterIndex,
java.io.InputStream inputStream)
|
void |
setBlob(int parameterIndex,
java.io.InputStream inputStream,
long length)
|
void |
setBoolean(int parameterIndex,
boolean value)
Sets parameter number parameterIndex to b, a Java boolean value. |
void |
setByte(int parameterIndex,
byte value)
Sets parameter number parameterIndex to x, a Java byte value. |
void |
setBytes(int parameterIndex,
byte[] bytes)
Sets parameter number parameterIndex to x[], a Java array of bytes. |
void |
setCharacterStream(int parameterIndex,
java.io.Reader reader)
|
void |
setCharacterStream(int parameterIndex,
java.io.Reader reader,
int length)
|
void |
setCharacterStream(int parameterIndex,
java.io.Reader reader,
long length)
|
void |
setClob(int parameterIndex,
java.sql.Clob x)
Sets the parameter in position parameterIndex to a Clob object. |
void |
setClob(int parameterIndex,
java.io.Reader reader)
|
void |
setClob(int parameterIndex,
java.io.Reader reader,
long length)
|
void |
setDate(int parameterIndex,
java.sql.Date value)
Sets parameter number parameterIndex to x, a java.sql.Date object. |
void |
setDate(int parameterIndex,
java.sql.Date x,
java.util.Calendar cal)
Sets parameter number parameterIndex to x, a java.sql.Date object. |
void |
setDouble(int parameterIndex,
double value)
Sets parameter number parameterIndex to x, a double value. |
void |
setFloat(int parameterIndex,
float value)
Sets parameter number parameterIndex to value, a float value. |
void |
setInt(int parameterIndex,
int value)
Sets parameter number parameterIndex to value, a int value. |
void |
setLong(int parameterIndex,
long value)
Sets parameter number parameterIndex to x, a long value. |
void |
setNCharacterStream(int parameterIndex,
java.io.Reader value)
|
void |
setNCharacterStream(int parameterIndex,
java.io.Reader value,
long length)
|
void |
setNClob(int parameterIndex,
java.sql.NClob value)
|
void |
setNClob(int parameterIndex,
java.io.Reader reader)
|
void |
setNClob(int parameterIndex,
java.io.Reader reader,
long length)
|
void |
setNString(int parameterIndex,
java.lang.String value)
|
void |
setNull(int parameterIndex,
int jdbcType)
Sets parameter number parameterIndex to a null value. |
void |
setNull(int parameterIndex,
int jdbcType,
java.lang.String typeName)
Sets parameter number parameterIndex to a null value. |
void |
setObject(int parameterIndex,
java.lang.Object value)
Sets parameter number parameterIndex to an object value |
void |
setObject(int parameterIndex,
java.lang.Object value,
int targetJdbcType)
|
void |
setObject(int parameterIndex,
java.lang.Object value,
int targetJdbcType,
int scale)
Sets parameter number parameterIndex to an object value |
void |
setRef(int parameterIndex,
java.sql.Ref x)
|
void |
setRowId(int parameterIndex,
java.sql.RowId x)
|
void |
setShort(int parameterIndex,
short value)
Sets parameter number parameterIndex to x, a short value. |
void |
setSQLXML(int parameterIndex,
java.sql.SQLXML xmlObject)
|
void |
setString(int parameterIndex,
java.lang.String value)
Sets parameter number parameterIndex to x, a String value. |
void |
setTime(int parameterIndex,
java.sql.Time value)
Sets parameter number parameterIndex to x, a java.sql.Time object. |
void |
setTime(int parameterIndex,
java.sql.Time x,
java.util.Calendar cal)
Sets parameter number parameterIndex to x, a java.sql.Time object. |
void |
setTimestamp(int parameterIndex,
java.sql.Timestamp value)
Sets parameter number parameterIndex to x, a java.sql.Timestamp object. |
void |
setTimestamp(int parameterIndex,
java.sql.Timestamp x,
java.util.Calendar cal)
Sets parameter number parameterIndex to x, a java.sql.Timestamp object. |
void |
setUnicodeStream(int parameterIndex,
java.io.InputStream x,
int length)
|
void |
setURL(int parameterIndex,
java.net.URL x)
Sets the designated parameter to the given java.net.URL value. |
Methods inherited from class com.metamatrix.jdbc.WrapperImpl |
---|
isWrapperFor, unwrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.sql.Statement |
---|
cancel, clearWarnings, close, execute, execute, execute, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout |
Methods inherited from interface java.sql.Wrapper |
---|
isWrapperFor, unwrap |
Field Detail |
---|
protected java.lang.String prepareSql
protected java.util.List<java.util.List<java.lang.Object>> batchParameterList
Method Detail |
---|
public void addBatch() throws java.sql.SQLException
Adds a set of parameters to this PreparedStatement object's list of commands to be sent to the database for execution as a batch.
addBatch
in interface java.sql.PreparedStatement
java.sql.SQLException
- if there is an errorpublic void clearBatch() throws java.sql.SQLException
clearBatch
in interface java.sql.Statement
clearBatch
in class MMStatement
java.sql.SQLException
- if a database access error occurs or the
driver does not support batch statementspublic void clearParameters() throws java.sql.SQLException
Clears the values set for the PreparedStatement object's IN parameters and releases the resources used by those values. In general, parameter values remain in force for repeated use of statement.
clearParameters
in interface java.sql.PreparedStatement
java.sql.SQLException
- if there is an error while clearing paramspublic boolean execute(java.lang.String sql) throws java.sql.SQLException
execute
in interface java.sql.Statement
execute
in class MMStatement
java.sql.SQLException
public java.sql.ResultSet executeQuery(java.lang.String sql) throws java.sql.SQLException
executeQuery
in interface java.sql.Statement
executeQuery
in class MMStatement
java.sql.SQLException
public int executeUpdate(java.lang.String sql) throws java.sql.SQLException
executeUpdate
in interface java.sql.Statement
executeUpdate
in class MMStatement
java.sql.SQLException
public void addBatch(java.lang.String sql) throws java.sql.SQLException
MMStatement
addBatch
in interface java.sql.Statement
addBatch
in class MMStatement
sql
- statement to be added to the batch
java.sql.SQLException
public boolean execute() throws java.sql.SQLException
execute
in interface java.sql.PreparedStatement
java.sql.SQLException
public int[] executeBatch() throws java.sql.SQLException
executeBatch
in interface java.sql.Statement
executeBatch
in class MMStatement
java.sql.SQLException
public java.sql.ResultSet executeQuery() throws java.sql.SQLException
executeQuery
in interface java.sql.PreparedStatement
java.sql.SQLException
public int executeUpdate() throws java.sql.SQLException
executeUpdate
in interface java.sql.PreparedStatement
java.sql.SQLException
protected RequestMessage createRequestMessage(java.lang.String[] commands, boolean isBatchedCommand, java.lang.Boolean requiresResultSet)
createRequestMessage
in class MMStatement
public java.sql.ResultSetMetaData getMetaData() throws java.sql.SQLException
Retreives a ResultSetMetaData object with information about the numbers, types, and properties of columns in the ResultSet object that will be returned when this preparedstatement object is executed.
getMetaData
in interface java.sql.PreparedStatement
SQLException,
- currently there is no means of getting results
metadata before getting results.
java.sql.SQLException
public void setAsciiStream(int parameterIndex, java.io.InputStream in, int length) throws java.sql.SQLException
Sets the parameter in position parameterIndex to the input stream object fin, from which length bytes will be read and sent to metamatrix.
setAsciiStream
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setin
- input stream in ASCII to which the parameter value is to be set.length,
- number of bytes to read from the stream
java.sql.SQLException
public void setBigDecimal(int parameterIndex, java.math.BigDecimal value) throws java.sql.SQLException
Sets the IN parameter at paramaterIndex to a BigDecimal object. The parameter type is set to NUMERIC
setBigDecimal
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setBigDecimal
- object to which the parameter value is to be set.
SQLException,
- should not occur
java.sql.SQLException
public void setBinaryStream(int parameterIndex, java.io.InputStream in, int length) throws java.sql.SQLException
Sets the parameter in position parameterIndex to the input stream object fin, from which length bytes will be read and sent to metamatrix.
setBinaryStream
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setinput
- stream in binary to which the parameter value is to be set.length,
- number of bytes to read from the stream
java.sql.SQLException
public void setBlob(int parameterIndex, java.sql.Blob x) throws java.sql.SQLException
Sets the parameter in position parameterIndex to a Blob object.
setBlob
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setBlob
- object to which the parameter value is to be set.
java.sql.SQLException
- if parameter type/datatype do not matchpublic void setBoolean(int parameterIndex, boolean value) throws java.sql.SQLException
Sets parameter number parameterIndex to b, a Java boolean value. The parameter type is set to BIT
setBoolean
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setboolean
- value to which the parameter value is to be set.
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setByte(int parameterIndex, byte value) throws java.sql.SQLException
Sets parameter number parameterIndex to x, a Java byte value. The parameter type is set to TINYINT
setByte
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setbyte
- value to which the parameter value is to be set.
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setBytes(int parameterIndex, byte[] bytes) throws java.sql.SQLException
Sets parameter number parameterIndex to x[], a Java array of bytes.
setBytes
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setbytes
- array to which the parameter value is to be set.
java.sql.SQLException
public void setCharacterStream(int parameterIndex, java.io.Reader reader, int length) throws java.sql.SQLException
setCharacterStream
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setClob(int parameterIndex, java.sql.Clob x) throws java.sql.SQLException
Sets the parameter in position parameterIndex to a Clob object.
setClob
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setClob
- object to which the parameter value is to be set.
java.sql.SQLException
- if parameter type/datatype do not match.public void setDate(int parameterIndex, java.sql.Date value) throws java.sql.SQLException
Sets parameter number parameterIndex to x, a java.sql.Date object. The parameter type is set to DATE
setDate
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setDate
- object to which the parameter value is to be set.
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal) throws java.sql.SQLException
Sets parameter number parameterIndex to x, a java.sql.Date object. The parameter type is set to DATE
setDate
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setDate
- object to which the parameter value is to be set.Calendar
- object to constrct date(useful to get include timezone info)
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setDouble(int parameterIndex, double value) throws java.sql.SQLException
Sets parameter number parameterIndex to x, a double value. The parameter type is set to DOUBLE
setDouble
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setdouble
- value to which the parameter value is to be set.
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setFloat(int parameterIndex, float value) throws java.sql.SQLException
Sets parameter number parameterIndex to value, a float value. The parameter type is set to FLOAT
setFloat
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setfloat
- value to which the parameter value is to be set.
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setInt(int parameterIndex, int value) throws java.sql.SQLException
Sets parameter number parameterIndex to value, a int value. The parameter type is set to INTEGER
setInt
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setint
- value to which the parameter value is to be set.
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setLong(int parameterIndex, long value) throws java.sql.SQLException
Sets parameter number parameterIndex to x, a long value. The parameter type is set to BIGINT
setLong
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setlong
- value to which the parameter value is to be set.
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setNull(int parameterIndex, int jdbcType) throws java.sql.SQLException
Sets parameter number parameterIndex to a null value.
setNull
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setjdbc
- type of the parameter whose value is to be set to null
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setNull(int parameterIndex, int jdbcType, java.lang.String typeName) throws java.sql.SQLException
Sets parameter number parameterIndex to a null value.
setNull
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setjdbc
- type of the parameter whose value is to be set to nullfully
- qualifies typename of the parameter being set.
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object value, int targetJdbcType, int scale) throws java.sql.SQLException
Sets parameter number parameterIndex to an object value
setObject
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setan
- object value to which the parameter value is to be set.int
- value giving the JDBC type to conver the object toint
- value giving the scale to be set if the type is DECIMAL or NUMERIC
SQLException,
- if there is an error setting the parameter value
java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object value, int targetJdbcType) throws java.sql.SQLException
setObject
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object value) throws java.sql.SQLException
Sets parameter number parameterIndex to an object value
setObject
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setan
- object value to which the parameter value is to be set.
SQLException,
- if there is an error setting the parameter value
java.sql.SQLException
public void setShort(int parameterIndex, short value) throws java.sql.SQLException
Sets parameter number parameterIndex to x, a short value. The parameter type is set to TINYINT
setShort
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setshort
- value to which the parameter value is to be set.
SQLException,
- if there is an error setting the parameter value
java.sql.SQLException
public void setString(int parameterIndex, java.lang.String value) throws java.sql.SQLException
Sets parameter number parameterIndex to x, a String value. The parameter type is set to VARCHAR
setString
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setString
- object to which the parameter value is to be set.
java.sql.SQLException
public void setTime(int parameterIndex, java.sql.Time value) throws java.sql.SQLException
Sets parameter number parameterIndex to x, a java.sql.Time object. The parameter type is set to TIME
setTime
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setTime
- object to which the parameter value is to be set.
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal) throws java.sql.SQLException
Sets parameter number parameterIndex to x, a java.sql.Time object. The parameter type is set to TIME
setTime
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setTime
- object to which the parameter value is to be set.Calendar
- object to constrct Time(useful to get include timezone info)
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setTimestamp(int parameterIndex, java.sql.Timestamp value) throws java.sql.SQLException
Sets parameter number parameterIndex to x, a java.sql.Timestamp object. The parameter type is set to TIMESTAMP
setTimestamp
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setTimestamp
- object to which the parameter value is to be set.
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal) throws java.sql.SQLException
Sets parameter number parameterIndex to x, a java.sql.Timestamp object. The parameter type is set to TIMESTAMP
setTimestamp
in interface java.sql.PreparedStatement
parameterIndex
- of the parameter whose value is to be setTimestamp
- object to which the parameter value is to be set.Calendar
- object to constrct timestamp(useful to get include timezone info)
SQLException,
- if parameter type/datatype do not match
java.sql.SQLException
public void setURL(int parameterIndex, java.net.URL x) throws java.sql.SQLException
setURL
in interface java.sql.PreparedStatement
parameter
- int indexx
- URL to be set
java.sql.SQLException
public java.sql.ParameterMetaData getParameterMetaData() throws java.sql.SQLException
getParameterMetaData
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setSQLXML(int parameterIndex, java.sql.SQLXML xmlObject) throws java.sql.SQLException
setSQLXML
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setArray(int parameterIndex, java.sql.Array x) throws java.sql.SQLException
setArray
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setAsciiStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException
setAsciiStream
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException
setAsciiStream
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setBinaryStream(int parameterIndex, java.io.InputStream x) throws java.sql.SQLException
setBinaryStream
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws java.sql.SQLException
setBinaryStream
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setBlob(int parameterIndex, java.io.InputStream inputStream) throws java.sql.SQLException
setBlob
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setBlob(int parameterIndex, java.io.InputStream inputStream, long length) throws java.sql.SQLException
setBlob
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setCharacterStream(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException
setCharacterStream
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException
setCharacterStream
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException
setClob
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException
setClob
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setNCharacterStream(int parameterIndex, java.io.Reader value) throws java.sql.SQLException
setNCharacterStream
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setNCharacterStream(int parameterIndex, java.io.Reader value, long length) throws java.sql.SQLException
setNCharacterStream
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setNClob(int parameterIndex, java.sql.NClob value) throws java.sql.SQLException
setNClob
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setNClob(int parameterIndex, java.io.Reader reader) throws java.sql.SQLException
setNClob
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setNClob(int parameterIndex, java.io.Reader reader, long length) throws java.sql.SQLException
setNClob
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setNString(int parameterIndex, java.lang.String value) throws java.sql.SQLException
setNString
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setRef(int parameterIndex, java.sql.Ref x) throws java.sql.SQLException
setRef
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setRowId(int parameterIndex, java.sql.RowId x) throws java.sql.SQLException
setRowId
in interface java.sql.PreparedStatement
java.sql.SQLException
public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length) throws java.sql.SQLException
setUnicodeStream
in interface java.sql.PreparedStatement
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |