|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.derby.impl.jdbc.ConnectionChild
org.apache.derby.impl.jdbc.EmbedStatement
org.apache.derby.impl.jdbc.EmbedPreparedStatement
org.apache.derby.impl.jdbc.EmbedPreparedStatement20
This class extends the EmbedPreparedStatement class in order to support new methods and classes that come with JDBC 2.0.
Supports
EmbedPreparedStatement| Field Summary |
| Fields inherited from class org.apache.derby.impl.jdbc.EmbedPreparedStatement |
preparedStatement, rMetaData |
| Fields inherited from class org.apache.derby.impl.jdbc.EmbedStatement |
active, batchStatements, CLOSE, cursorName, factory, forMetaData, lcc, localConn, MaxFieldSize, maxRows, NOCLOSE, results, resultSetConcurrency, resultSetHoldability, resultSetType, SQLText, updateCount |
| 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 |
| Constructor Summary | |
EmbedPreparedStatement20(EmbedConnection conn,
java.lang.String sql,
boolean forMetaData,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability,
int autoGeneratedKeys,
int[] columnIndexes,
java.lang.String[] columnNames)
|
|
| Method Summary | |
java.sql.ParameterMetaData |
getParameterMetaData()
JDBC 3.0 |
void |
setArray(int i,
java.sql.Array x)
JDBC 2.0 Set an Array parameter. |
void |
setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
Set a parameter to a java.lang.BigDecimal value. |
(package private) boolean |
setObjectConvert(int parameterIndex,
java.lang.Object x)
Allow explict setObject conversions by sub-classes for classes not supported by this variant. |
void |
setRef(int i,
java.sql.Ref x)
JDBC 2.0 Set a REF(<structured-type>) parameter. |
| Methods inherited from class org.apache.derby.impl.jdbc.EmbedPreparedStatement |
addBatch, addBatch, clearParameters, closeActions, dataTypeConversion, execute, execute, execute, execute, execute, executeBatchElement, executeQuery, executeQuery, executeStatement, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, finalize, getEmbedParameterSetMetaData, getMetaData, getParameterJDBCType, getParms, getTypes, newEmbedResultSetMetaData, setAsciiStream, setBinaryStream, setBinaryStreamInternal, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStreamInternal, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, toString, transferParameters |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.sql.Statement |
cancel, clearBatch, clearWarnings, close, executeBatch, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout |
| Constructor Detail |
public EmbedPreparedStatement20(EmbedConnection conn,
java.lang.String sql,
boolean forMetaData,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability,
int autoGeneratedKeys,
int[] columnIndexes,
java.lang.String[] columnNames)
throws java.sql.SQLException
| Method Detail |
public void setRef(int i,
java.sql.Ref x)
throws java.sql.SQLException
i - the first parameter is 1, the second is 2, ...x - an object representing data of an SQL REF Type
java.sql.SQLException - Feature not implemented for now.
public void setArray(int i,
java.sql.Array x)
throws java.sql.SQLException
i - the first parameter is 1, the second is 2, ...x - an object representing an SQL array
java.sql.SQLException - Feature not implemented for now.
public final void setBigDecimal(int parameterIndex,
java.math.BigDecimal x)
throws java.sql.SQLException
parameterIndex - the first parameter is 1, the second is 2, ...x - the parameter value
java.sql.SQLException - thrown on failure.
boolean setObjectConvert(int parameterIndex,
java.lang.Object x)
throws java.sql.SQLException
setObjectConvert in class EmbedPreparedStatementjava.sql.SQLException - value could not be set.
public java.sql.ParameterMetaData getParameterMetaData()
throws java.sql.SQLException
java.sql.SQLException
|
Built on Tue 2006-10-10 19:23:47+0200, from revision exported | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||