| 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.EmbedPreparedStatement20
All known Subclasses: org.apache.derby.impl.jdbc.EmbedPreparedStatement30,
Method Summary | |
public void | setArray(int i, Array x) JDBC 2.0
Set an Array parameter. | final public void | setBigDecimal(int parameterIndex, BigDecimal x) Set a parameter to a java.lang.BigDecimal value. | boolean | setObjectConvert(int parameterIndex, Object x) Allow explict setObject conversions by sub-classes for classes
not supported by this variant. | public void | setRef(int i, Ref x) JDBC 2.0
Set a REF(<structured-type>) parameter. |
EmbedPreparedStatement20 | public EmbedPreparedStatement20(EmbedConnection conn, String sql, boolean forMetaData, int resultSetType, int resultSetConcurrency, int resultSetHoldability, int autoGeneratedKeys, int[] columnIndexes, String[] columnNames) throws SQLException(Code) | | |
setArray | public void setArray(int i, Array x) throws SQLException(Code) | | JDBC 2.0
Set an Array parameter.
Parameters: i - the first parameter is 1, the second is 2, ... Parameters: x - an object representing an SQL array exception: SQLException - Feature not implemented for now. |
setBigDecimal | final public void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException(Code) | | Set a parameter to a java.lang.BigDecimal value.
The driver converts this to a SQL NUMERIC value when
it sends it to the database.
Parameters: parameterIndex - the first parameter is 1, the second is 2, ... Parameters: x - the parameter value exception: SQLException - thrown on failure. |
setObjectConvert | boolean setObjectConvert(int parameterIndex, Object x) throws SQLException(Code) | | Allow explict setObject conversions by sub-classes for classes
not supported by this variant. In this case handle BigDecimal.
true if the object was set successfully, false if no validconversion exists. exception: SQLException - value could not be set. |
setRef | public void setRef(int i, Ref x) throws SQLException(Code) | | JDBC 2.0
Set a REF(<structured-type>) parameter.
Parameters: i - the first parameter is 1, the second is 2, ... Parameters: x - an object representing data of an SQL REF Type 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)
|
|
|