| java.lang.Object org.apache.derby.iapi.jdbc.BrokeredStatement org.apache.derby.iapi.jdbc.BrokeredPreparedStatement org.apache.derby.iapi.jdbc.BrokeredPreparedStatement30 org.apache.derby.iapi.jdbc.BrokeredPreparedStatement40
Method Summary | |
final public boolean | isClosed() Checks if the statement is closed. | public boolean | isPoolable() Forwards to the real PreparedStatement. | final public void | setAsciiStream(int parameterIndex, InputStream x) Sets the designated parameter to the given input stream. | final public void | setAsciiStream(int parameterIndex, InputStream x, long length) Sets the designated parameter to the given input stream, which will have
the specified number of bytes. | final public void | setBinaryStream(int parameterIndex, InputStream x) Sets the designated parameter to the given input stream. | final public void | setBinaryStream(int parameterIndex, InputStream x, long length) Sets the designated parameter to the given input stream, which will have
the specified number of bytes. | public void | setBlob(int parameterIndex, InputStream inputStream, long length) | final public void | setBlob(int parameterIndex, InputStream inputStream) Sets the designated parameter to a InputStream object. | final public void | setCharacterStream(int parameterIndex, Reader reader) Sets the designated parameter to the given Reader object. | final public void | setCharacterStream(int parameterIndex, Reader x, long length) Sets the designated parameter to the given Reader, which will have
the specified number of bytes. | public void | setClob(int parameterIndex, Reader reader, long length) | final public void | setClob(int parameterIndex, Reader reader) Sets the designated parameter to a Reader object. | public void | setNCharacterStream(int parameterIndex, Reader value) | public void | setNCharacterStream(int index, Reader value, long length) | public void | setNClob(int index, NClob value) | final public void | setNClob(int parameterIndex, Reader reader) | public void | setNClob(int parameterIndex, Reader reader, long length) | public void | setNString(int index, String value) | public void | setPoolable(boolean poolable) Forwards to the real PreparedStatement. | public void | setRowId(int parameterIndex, RowId x) | public void | setSQLXML(int parameterIndex, SQLXML xmlObject) | public T | unwrap(java.lang.Class<T> interfaces) |
isClosed | final public boolean isClosed() throws SQLException(Code) | | Checks if the statement is closed.
true if the statement is closed,false otherwise exception: SQLException - if an error occurs |
isPoolable | public boolean isPoolable() throws SQLException(Code) | | Forwards to the real PreparedStatement.
true if the underlying PreparedStatement is poolable,false otherwise. throws: SQLException - if the forwarding call fails. |
setAsciiStream | final public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException(Code) | | Sets the designated parameter to the given input stream.
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... Parameters: x - the Java input stream that contains the ASCII parameter value throws: SQLException - if a database access error occurs or this method iscalled on a closed PreparedStatement |
setAsciiStream | final public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException(Code) | | Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... Parameters: x - the java input stream which contains the ASCII parameter value Parameters: length - the number of bytes in the stream exception: SQLException - thrown on failure. |
setBinaryStream | final public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException(Code) | | Sets the designated parameter to the given input stream.
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... Parameters: x - the java input stream which contains the binary parameter value throws: SQLException - if a database access error occurs or this method iscalled on a closed PreparedStatement |
setBinaryStream | final public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException(Code) | | Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... Parameters: x - the java input stream which contains the binary parameter value Parameters: length - the number of bytes in the stream exception: SQLException - thrown on failure. |
setBlob | final public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException(Code) | | Sets the designated parameter to a InputStream object.
This method differs from the setBinaryStream(int, InputStream)
method because it informs the driver that the parameter value
should be sent to the server as a BLOB .
Parameters: inputStream - an object that contains the data to set the parametervalue to. throws: SQLException - if a database access error occurs, this method iscalled on a closed PreparedStatement |
setCharacterStream | final public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException(Code) | | Sets the designated parameter to the given Reader object.
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... Parameters: reader - the java.io.Reader object that contains theUnicode data throws: SQLException - if a database access error occurs or this method iscalled on a closed PreparedStatement |
setCharacterStream | final public void setCharacterStream(int parameterIndex, Reader x, long length) throws SQLException(Code) | | Sets the designated parameter to the given Reader, which will have
the specified number of bytes.
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... Parameters: x - the java Reader which contains the UNICODE value Parameters: length - the number of bytes in the stream exception: SQLException - thrown on failure. |
setClob | final public void setClob(int parameterIndex, Reader reader) throws SQLException(Code) | | Sets the designated parameter to a Reader object.
This method differs from the setCharacterStream(int,Reader)
method because it informs the driver that the parameter value should be
sent to the server as a CLOB .
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... Parameters: reader - an object that contains the data to set the parametervalue to. throws: SQLException - if a database access error occurs, this method iscalled on a closed PreparedStatement |
setPoolable | public void setPoolable(boolean poolable) throws SQLException(Code) | | Forwards to the real PreparedStatement.
Parameters: poolable - the new value for the poolable hint. throws: SQLException - if the forwarding call fails. |
unwrap | public T unwrap(java.lang.Class<T> interfaces) throws SQLException(Code) | | Returns this if this class implements the interface
Parameters: interfaces - a Class defining an interface an object that implements the interface throws: java.sql.SQLExption - if no object if found that implements the interface |
Methods inherited from org.apache.derby.iapi.jdbc.BrokeredPreparedStatement | final public void addBatch() throws SQLException(Code)(Java Doc) final public void clearParameters() throws SQLException(Code)(Java Doc) public PreparedStatement createDuplicateStatement(Connection conn, PreparedStatement oldStatement) throws SQLException(Code)(Java Doc) final public boolean execute() throws SQLException(Code)(Java Doc) final public ResultSet executeQuery() throws SQLException(Code)(Java Doc) final public int executeUpdate() throws SQLException(Code)(Java Doc) public EngineParameterMetaData getEmbedParameterSetMetaData() throws SQLException(Code)(Java Doc) final public java.sql.ResultSetMetaData getMetaData() throws SQLException(Code)(Java Doc) PreparedStatement getPreparedStatement() throws SQLException(Code)(Java Doc) final public Statement getStatement() throws SQLException(Code)(Java Doc) final public void setArray(int i, Array x) throws SQLException(Code)(Java Doc) final public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc) final public void setBigDecimal(int parameterIndex, java.math.BigDecimal x) throws SQLException(Code)(Java Doc) final public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc) final public void setBlob(int i, Blob x) throws SQLException(Code)(Java Doc) final public void setBoolean(int parameterIndex, boolean x) throws SQLException(Code)(Java Doc) final public void setByte(int parameterIndex, byte x) throws SQLException(Code)(Java Doc) final public void setBytes(int parameterIndex, byte[] x) throws SQLException(Code)(Java Doc) final public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException(Code)(Java Doc) final public void setClob(int i, Clob x) throws SQLException(Code)(Java Doc) final public void setDate(int parameterIndex, Date x) throws SQLException(Code)(Java Doc) final public void setDate(int i, Date x, Calendar cal) throws SQLException(Code)(Java Doc) final public void setDouble(int parameterIndex, double x) throws SQLException(Code)(Java Doc) final public void setFloat(int parameterIndex, float x) throws SQLException(Code)(Java Doc) final public void setInt(int parameterIndex, int x) throws SQLException(Code)(Java Doc) final public void setLong(int parameterIndex, long x) throws SQLException(Code)(Java Doc) final public void setNull(int parameterIndex, int sqlType) throws SQLException(Code)(Java Doc) final public void setNull(int parameterIndex, int sqlType, String typeName) throws SQLException(Code)(Java Doc) final public void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException(Code)(Java Doc) final public void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException(Code)(Java Doc) final public void setObject(int parameterIndex, Object x) throws SQLException(Code)(Java Doc) final public void setRef(int i, Ref x) throws SQLException(Code)(Java Doc) final public void setShort(int parameterIndex, short x) throws SQLException(Code)(Java Doc) final public void setString(int parameterIndex, String x) throws SQLException(Code)(Java Doc) final public void setTime(int parameterIndex, Time x) throws SQLException(Code)(Java Doc) final public void setTime(int i, Time x, Calendar cal) throws SQLException(Code)(Java Doc) final public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException(Code)(Java Doc) final public void setTimestamp(int i, Timestamp x, Calendar cal) throws SQLException(Code)(Java Doc) final public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc)
|
|
|