| java.lang.Object org.apache.derby.impl.jdbc.ConnectionChild org.apache.derby.impl.jdbc.EmbedStatement org.apache.derby.impl.jdbc.EmbedPreparedStatement org.apache.derby.impl.jdbc.EmbedCallableStatement
All known Subclasses: org.apache.derby.impl.jdbc.EmbedCallableStatement20, org.apache.derby.impl.jdbc.EmbedCallableStatement169,
Field Summary | |
protected boolean | wasNull |
Method Summary | |
public void | addBatch() | protected void | checkRequiresCallableStatement(Activation activation) | final protected boolean | executeStatement(Activation a, boolean executeQuery, boolean executeUpdate) | public Blob | getBlob(int i) JDBC 2.0
Get a BLOB OUT parameter.
Parameters: i - the first parameter is 1, the second is 2, ... | public boolean | getBoolean(int parameterIndex) | public byte | getByte(int parameterIndex) | public byte[] | getBytes(int parameterIndex) | public Clob | getClob(int i) JDBC 2.0
Get a CLOB OUT parameter.
Parameters: i - the first parameter is 1, the second is 2, ... | public Date | getDate(int parameterIndex) | public java.sql.Date | getDate(int parameterIndex, Calendar cal) Get the value of a SQL DATE parameter as a java.sql.Date object
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... | public double | getDouble(int parameterIndex) | public float | getFloat(int parameterIndex) | public int | getInt(int parameterIndex) | public long | getLong(int parameterIndex) | final public Object | getObject(int parameterIndex) | public short | getShort(int parameterIndex) | public String | getString(int parameterIndex) | public Time | getTime(int parameterIndex) | public java.sql.Time | getTime(int parameterIndex, Calendar cal) Get the value of a SQL TIME parameter as a java.sql.Time object.
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... | public Timestamp | getTimestamp(int parameterIndex) | public java.sql.Timestamp | getTimestamp(int parameterIndex, Calendar cal) Get the value of a SQL TIMESTAMP parameter as a java.sql.Timestamp
object.
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... | public URL | getURL(int parameterIndex) | public URL | getURL(String parameterName) JDBC 3.0
Retrieves the value of a JDBC DATALINK parameter as a java.net.URL object
Parameters: parameterName - - the name of the parameter the parameter value. | final public void | registerOutParameter(int parameterIndex, int sqlType) | final public void | registerOutParameter(int parameterIndex, int sqlType, int scale) | public void | registerOutParameter(int parameterIndex, int sqlType, String typeName) | public void | setURL(String parameterName, URL val) JDBC 3.0
Sets the designated parameter to the given java.net.URL object. | public boolean | wasNull() |
wasNull | protected boolean wasNull(Code) | | |
checkRequiresCallableStatement | protected void checkRequiresCallableStatement(Activation activation)(Code) | | |
executeStatement | final protected boolean executeStatement(Activation a, boolean executeQuery, boolean executeUpdate) throws SQLException(Code) | | |
getBlob | public Blob getBlob(int i) throws SQLException(Code) | | JDBC 2.0
Get a BLOB OUT parameter.
Parameters: i - the first parameter is 1, the second is 2, ... an object representing a BLOB exception: SQLException - if a database-access error occurs. |
getClob | public Clob getClob(int i) throws SQLException(Code) | | JDBC 2.0
Get a CLOB OUT parameter.
Parameters: i - the first parameter is 1, the second is 2, ... an object representing a CLOB exception: SQLException - if a database-access error occurs. |
getDate | public java.sql.Date getDate(int parameterIndex, Calendar cal) throws SQLException(Code) | | Get the value of a SQL DATE parameter as a java.sql.Date object
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... the parameter value; if the value is SQL NULL, the result is null exception: SQLException - if a database-access error occurs. |
getTime | public java.sql.Time getTime(int parameterIndex, Calendar cal) throws SQLException(Code) | | Get the value of a SQL TIME parameter as a java.sql.Time object.
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... the parameter value; if the value is SQL NULL, the result is null exception: SQLException - if a database-access error occurs. |
getTimestamp | public java.sql.Timestamp getTimestamp(int parameterIndex, Calendar cal) throws SQLException(Code) | | Get the value of a SQL TIMESTAMP parameter as a java.sql.Timestamp
object.
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... the parameter value; if the value is SQL NULL, the result is null exception: SQLException - if a database-access error occurs. |
getURL | public URL getURL(int parameterIndex) throws SQLException(Code) | | JDBC 3.0
Retrieve the value of the designated JDBC DATALINK parameter as a java.net.URL object
Parameters: parameterIndex - - the first parameter is 1, the second is 2 a java.net.URL object that represents the JDBC DATALINK value used asthe designated parameter exception: SQLException - Feature not implemented for now. |
getURL | public URL getURL(String parameterName) throws SQLException(Code) | | JDBC 3.0
Retrieves the value of a JDBC DATALINK parameter as a java.net.URL object
Parameters: parameterName - - the name of the parameter the parameter value. If the value is SQL NULL, the result is null. exception: SQLException - Feature not implemented for now. |
registerOutParameter | public void registerOutParameter(int parameterIndex, int sqlType, String typeName) throws SQLException(Code) | | JDBC 2.0
Registers the designated output parameter
exception: SQLException - if a database-access error occurs. |
setURL | public void setURL(String parameterName, URL val) throws SQLException(Code) | | JDBC 3.0
Sets the designated parameter to the given java.net.URL object. The driver
converts this to an SQL DATALINK value when it sends it to the database.
Parameters: parameterName - - the name of the parameter Parameters: val - - the parameter value exception: SQLException - Feature not implemented for now. |
Methods inherited from org.apache.derby.impl.jdbc.EmbedPreparedStatement | final public void addBatch(String sql) throws SQLException(Code)(Java Doc) public void addBatch() throws SQLException(Code)(Java Doc) public void clearParameters() throws SQLException(Code)(Java Doc) void closeActions() throws SQLException(Code)(Java Doc) final SQLException dataTypeConversion(int column, String sourceType) throws SQLException(Code)(Java Doc) final public boolean execute(String sql) throws SQLException(Code)(Java Doc) final public boolean execute(String sql, int autoGenKeys) throws SQLException(Code)(Java Doc) final public boolean execute(String sql, int[] columnIndexes) throws SQLException(Code)(Java Doc) final public boolean execute(String sql, String[] columnNames) throws SQLException(Code)(Java Doc) final public boolean execute() throws SQLException(Code)(Java Doc) boolean executeBatchElement(Object batchElement) throws SQLException, StandardException(Code)(Java Doc) final public java.sql.ResultSet executeQuery(String sql) throws SQLException(Code)(Java Doc) final public java.sql.ResultSet executeQuery() throws SQLException(Code)(Java Doc) boolean executeStatement(Activation a, boolean executeQuery, boolean executeUpdate) throws SQLException(Code)(Java Doc) final public int executeUpdate(String sql) throws SQLException(Code)(Java Doc) final public int executeUpdate(String sql, int autoGenKeys) throws SQLException(Code)(Java Doc) final public int executeUpdate(String sql, int[] columnIndexes) throws SQLException(Code)(Java Doc) final public int executeUpdate(String sql, String[] columnNames) throws SQLException(Code)(Java Doc) final public int executeUpdate() throws SQLException(Code)(Java Doc) protected void finalize() throws Throwable(Code)(Java Doc) public EngineParameterMetaData getEmbedParameterSetMetaData() throws SQLException(Code)(Java Doc) public java.sql.ResultSetMetaData getMetaData() throws SQLException(Code)(Java Doc) protected int getParameterJDBCType(int parameterIndex) throws SQLException(Code)(Java Doc) final protected String getParameterSQLType(int parameterIndex) throws SQLException(Code)(Java Doc) final public ParameterValueSet getParms()(Code)(Java Doc) final protected DataTypeDescriptor[] getTypes(int parameterIndex) throws SQLException(Code)(Java Doc) protected EmbedResultSetMetaData newEmbedResultSetMetaData(ResultDescription resultDesc)(Code)(Java Doc) final public void setAsciiStream(int parameterIndex, InputStream x, long length) throws SQLException(Code)(Java Doc) final public void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc) public void setAsciiStream(int parameterIndex, InputStream x) throws SQLException(Code)(Java Doc) public void setBinaryStream(int parameterIndex, InputStream x) throws SQLException(Code)(Java Doc) final public void setBinaryStream(int parameterIndex, InputStream x, long length) throws SQLException(Code)(Java Doc) final public void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc) public void setBlob(int i, Blob x) throws SQLException(Code)(Java Doc) public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException(Code)(Java Doc) public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException(Code)(Java Doc) public void setBoolean(int parameterIndex, boolean x) throws SQLException(Code)(Java Doc) public void setBrokeredConnectionControl(BrokeredConnectionControl control)(Code)(Java Doc) public void setByte(int parameterIndex, byte x) throws SQLException(Code)(Java Doc) public void setBytes(int parameterIndex, byte x) throws SQLException(Code)(Java Doc) final public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws SQLException(Code)(Java Doc) final public void setCharacterStream(int parameterIndex, java.io.Reader reader, int length) throws SQLException(Code)(Java Doc) public void setCharacterStream(int parameterIndex, Reader reader) throws SQLException(Code)(Java Doc) public void setClob(int i, Clob x) throws SQLException(Code)(Java Doc) public void setClob(int parameterIndex, Reader reader) throws SQLException(Code)(Java Doc) public void setClob(int parameterIndex, Reader reader, long length) throws SQLException(Code)(Java Doc) public void setDate(int parameterIndex, Date x) throws SQLException(Code)(Java Doc) final public void setDate(int parameterIndex, java.sql.Date x, Calendar cal) throws SQLException(Code)(Java Doc) public void setDouble(int parameterIndex, double x) throws SQLException(Code)(Java Doc) public void setFloat(int parameterIndex, float x) throws SQLException(Code)(Java Doc) public void setInt(int parameterIndex, int x) throws SQLException(Code)(Java Doc) public void setLong(int parameterIndex, long x) throws SQLException(Code)(Java Doc) public void setNull(int parameterIndex, int sqlType) throws SQLException(Code)(Java Doc) public void setNull(int paramIndex, 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) boolean setObjectConvert(int parameterIndex, Object x) throws SQLException(Code)(Java Doc) public void setShort(int parameterIndex, short x) throws SQLException(Code)(Java Doc) public void setString(int parameterIndex, String x) throws SQLException(Code)(Java Doc) public void setTime(int parameterIndex, Time x) throws SQLException(Code)(Java Doc) final public void setTime(int parameterIndex, java.sql.Time x, Calendar cal) throws SQLException(Code)(Java Doc) public void setTimestamp(int parameterIndex, Timestamp x) throws SQLException(Code)(Java Doc) final public void setTimestamp(int parameterIndex, java.sql.Timestamp x, Calendar cal) throws SQLException(Code)(Java Doc) final public void setURL(int parameterIndex, java.net.URL x) throws SQLException(Code)(Java Doc) public void setUnicodeStream(int parameterIndex, InputStream x, int length) throws SQLException(Code)(Java Doc) public String toString()(Code)(Java Doc) public void transferParameters(EmbedPreparedStatement newStatement) throws SQLException(Code)(Java Doc)
|
|
|