org.apache.derby.impl.jdbc
Class EmbedPreparedStatement30

java.lang.Object
  extended byorg.apache.derby.impl.jdbc.ConnectionChild
      extended byorg.apache.derby.impl.jdbc.EmbedStatement
          extended byorg.apache.derby.impl.jdbc.EmbedPreparedStatement
              extended byorg.apache.derby.impl.jdbc.EmbedPreparedStatement20
                  extended byorg.apache.derby.impl.jdbc.EmbedPreparedStatement30
All Implemented Interfaces:
java.sql.PreparedStatement, java.sql.Statement

public class EmbedPreparedStatement30
extends EmbedPreparedStatement20

This class extends the EmbedPreparedStatement class from Local20 in order to support new methods and classes that come with JDBC 3.0.

See Also:
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, cursorName, forMetaData, lcc, MaxFieldSize, maxRows, results, resultSetConcurrency, resultSetHoldability, resultSetType, SQLText, updateCount
 
Fields inherited from class org.apache.derby.impl.jdbc.ConnectionChild
CLOSE, factory, localConn, NOCLOSE
 
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
EmbedPreparedStatement30(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 Retrieves the number, types and properties of this PreparedStatement object's parameters.
 
Methods inherited from class org.apache.derby.impl.jdbc.EmbedPreparedStatement20
setArray, setBlob, setClob, setRef
 
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, setBigDecimal, setBinaryStream, setBinaryStreamInternal, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStreamInternal, 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 org.apache.derby.impl.jdbc.EmbedStatement
cancel, checkExecStatus, checkIfInMiddleOfBatch, checkRequiresCallableStatement, checkStatus, clearBatch, clearResultSets, clearWarnings, close, execute, executeBatch, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getParameterValueSet, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getSQLText, getUpdateCount, getWarnings, getWarnings, resultSetClosing, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, transferBatch
 
Methods inherited from class org.apache.derby.impl.jdbc.ConnectionChild
commitIfAutoCommit, commitIfNeeded, getCal, getConnectionSynchronization, getContextManager, getDatabase, getEmbedConnection, handleException, handleException, needCommit, newSQLException, newSQLException, newSQLException, restoreContextStack, setupContextStack
 
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

EmbedPreparedStatement30

public EmbedPreparedStatement30(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

getParameterMetaData

public java.sql.ParameterMetaData getParameterMetaData()
                                                throws java.sql.SQLException
JDBC 3.0 Retrieves the number, types and properties of this PreparedStatement object's parameters.

Specified by:
getParameterMetaData in interface java.sql.PreparedStatement
Overrides:
getParameterMetaData in class EmbedPreparedStatement20
Returns:
a ParameterMetaData object that contains information about the number, types and properties of this PreparedStatement object's parameters.
Throws:
java.sql.SQLException - if a database access error occurs


Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.