| java.lang.Object com.caucho.sql.UserStatement com.caucho.sql.UserPreparedStatement
All known Subclasses: com.caucho.sql.UserCallableStatement,
Method Summary | |
public void | addBatch() Adds the statement as a batch. | public void | clearParameters() Clears the statement's parameters. | public void | close() Closes the prepared statement. | public boolean | execute() | public ResultSet | executeQuery() Executes the prepared statement's query. | public int | executeUpdate() | public ResultSetMetaData | getMetaData() Returns the result metadata. | public ParameterMetaData | getParameterMetaData() Returns the prepared statement's meta data. | public PreparedStatement | getPreparedStatement() Returns the underlying statement. | public void | setArray(int index, Array value) | public void | setAsciiStream(int index, InputStream value, int length) Sets the parameter as an ascii stream. | public void | setAsciiStream(int parameterIndex, InputStream x, long length) | public void | setAsciiStream(int parameterIndex, InputStream x) | public void | setBigDecimal(int index, BigDecimal value) | public void | setBinaryStream(int index, InputStream value, int length) Sets the parameter as a binary stream. | public void | setBinaryStream(int parameterIndex, InputStream x, long length) | public void | setBinaryStream(int parameterIndex, InputStream x) | public void | setBlob(int index, Blob value) Sets the parameter as a blob. | public void | setBlob(int parameterIndex, InputStream inputStream, long length) | public void | setBlob(int parameterIndex, InputStream inputStream) | public void | setBoolean(int index, boolean value) Sets the parameter as a boolean. | public void | setByte(int index, byte value) Sets the parameter as a byte. | public void | setBytes(int index, byte[] value) Sets the parameter as a byte array. | public void | setCharacterStream(int index, Reader value, int length) Sets the parameter as an character stream. | public void | setCharacterStream(int parameterIndex, Reader reader, long length) | public void | setCharacterStream(int parameterIndex, Reader reader) | public void | setClob(int index, Clob value) Sets the parameter as a clob. | public void | setClob(int parameterIndex, Reader reader, long length) | public void | setClob(int parameterIndex, Reader reader) | public void | setDate(int index, Date value) | public void | setDate(int index, Date value, Calendar cal) | public void | setDouble(int index, double value) | public void | setFloat(int index, float value) | public void | setInt(int index, int value) | public void | setLong(int index, long value) | public void | setNCharacterStream(int parameterIndex, Reader value, long length) | public void | setNCharacterStream(int parameterIndex, Reader value) | public void | setNClob(int parameterIndex, NClob value) | public void | setNClob(int parameterIndex, Reader reader, long length) | public void | setNClob(int parameterIndex, Reader reader) | public void | setNString(int parameterIndex, String value) | public void | setNull(int parameterIndex, int sqlType) Sets the parameter as a null. | public void | setNull(int parameterIndex, int sqlType, String typeName) Sets the parameter as a null. | public void | setObject(int index, Object value, int type, int scale) Sets the parameter as an object with the given type and scale. | public void | setObject(int index, Object value, int type) Sets the parameter as an object with the given type. | public void | setObject(int index, Object value) Sets the parameter as a object. | public void | setRef(int index, Ref value) Sets teh parameter as a ref. | public void | setRowId(int parameterIndex, RowId x) | public void | setSQLXML(int parameterIndex, SQLXML xmlObject) | public void | setShort(int index, short value) Sets the parameter as a short. | public void | setString(int index, String value) | public void | setTime(int index, Time value) | public void | setTime(int index, Time value, Calendar cal) | public void | setTimestamp(int index, Timestamp value) | public void | setTimestamp(int index, Timestamp value, Calendar cal) | public void | setURL(int index, URL value) Sets the parameter as a URL. | public void | setUnicodeStream(int index, InputStream value, int length) Sets the parameter as a unicode stream. | public String | toString() |
L | protected static L10N L(Code) | | |
clearParameters | public void clearParameters() throws SQLException(Code) | | Clears the statement's parameters.
|
execute | public boolean execute() throws SQLException(Code) | | Executes the prepared statement's sql as an update or query
|
executeUpdate | public int executeUpdate() throws SQLException(Code) | | Executes the prepared statement's sql as an update
|
setAsciiStream | public void setAsciiStream(int index, InputStream value, int length) throws SQLException(Code) | | Sets the parameter as an ascii stream.
|
setBinaryStream | public void setBinaryStream(int index, InputStream value, int length) throws SQLException(Code) | | Sets the parameter as a binary stream.
|
setBoolean | public void setBoolean(int index, boolean value) throws SQLException(Code) | | Sets the parameter as a boolean.
|
setByte | public void setByte(int index, byte value) throws SQLException(Code) | | Sets the parameter as a byte.
|
setBytes | public void setBytes(int index, byte[] value) throws SQLException(Code) | | Sets the parameter as a byte array.
|
setCharacterStream | public void setCharacterStream(int index, Reader value, int length) throws SQLException(Code) | | Sets the parameter as an character stream.
|
setCharacterStream | public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException(Code) | | |
setDouble | public void setDouble(int index, double value) throws SQLException(Code) | | Sets the parameter as a double
|
setFloat | public void setFloat(int index, float value) throws SQLException(Code) | | Sets the parameter as a float
|
setInt | public void setInt(int index, int value) throws SQLException(Code) | | Sets the parameter as an int
|
setLong | public void setLong(int index, long value) throws SQLException(Code) | | Sets the parameter as a long
|
setNCharacterStream | public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException(Code) | | |
setNull | public void setNull(int parameterIndex, int sqlType) throws SQLException(Code) | | Sets the parameter as a null.
|
setNull | public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException(Code) | | Sets the parameter as a null.
|
setObject | public void setObject(int index, Object value, int type, int scale) throws SQLException(Code) | | Sets the parameter as an object with the given type and scale.
|
setObject | public void setObject(int index, Object value, int type) throws SQLException(Code) | | Sets the parameter as an object with the given type.
|
setShort | public void setShort(int index, short value) throws SQLException(Code) | | Sets the parameter as a short.
|
setUnicodeStream | public void setUnicodeStream(int index, InputStream value, int length) throws SQLException(Code) | | Sets the parameter as a unicode stream.
|
|
|