public class CallableStatement40 extends CallableStatement
materialCallableStatement_clientParamTypeAtFirstExecute, internalPreparedStatement, materialPreparedStatement_, outputRegistered_, parameterMetaData_, parameters_, pooledConnection_, singleHopInfoAlreadyFetched_, sql_, superFlowExecuteCalled_autoGeneratedKeys_, cachedCursor_, cachedSingletonRowData_, CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, cursorAttributesToSendOnPrepare_, doWriteTimeout, fetchDirection_, fetchSize_, generatedKeysColumnIndexes_, generatedKeysColumnNames_, generatedKeysResultSet_, indexOfCurrentResultSet_, isCommitSql__, isPoolable, isPreparedStatement_, isQuery__, isRollbackSql__, KEEP_CURRENT_RESULT, materialStatement_, numInvisibleRS_, preparedStatementForAutoGeneratedKeys_, resultSetConcurrency_, resultSetHoldability_, resultSetType_, section_, SET_SCHEMA_STATEMENT, singletonRowData_, specialRegisterArrayList, sqlMode_, statementUUID, TIMEOUT_STATEMENTCLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
CallableStatement40(Agent agent,
Connection connection,
String sql,
int type,
int concurrency,
int holdability,
ClientPooledConnection cpc)
Calls the superclass constructor and passes the parameters
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeOnCompletion() |
Reader |
getCharacterStream(String parameterName) |
Reader |
getNCharacterStream(int parameterIndex) |
Reader |
getNCharacterStream(String parameterName) |
NClob |
getNClob(int i) |
NClob |
getNClob(String parameterName) |
String |
getNString(int parameterIndex) |
String |
getNString(String parameterIndex) |
<T> T |
getObject(int parameterIndex,
Class<T> type) |
<T> T |
getObject(String parameterName,
Class<T> type) |
RowId |
getRowId(int parameterIndex) |
RowId |
getRowId(String parameterName) |
SQLXML |
getSQLXML(int parameterIndex) |
SQLXML |
getSQLXML(String parametername) |
NetResultSet |
getSuperResultSet() |
boolean |
isCloseOnCompletion() |
void |
setAsciiStream(String parameterName,
InputStream x)
End of methods from PreparedStatement for JDBC 4.0.
|
void |
setAsciiStream(String parameterName,
InputStream x,
long length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
setBinaryStream(String parameterName,
InputStream x) |
void |
setBinaryStream(String parameterName,
InputStream x,
long length)
Sets the designated parameter to the given input stream, which will have
the specified number of bytes.
|
void |
setBlob(String parameterName,
Blob x) |
void |
setBlob(String parameterName,
InputStream inputStream) |
void |
setBlob(String parameterName,
InputStream inputStream,
long length) |
void |
setCharacterStream(String parameterName,
Reader reader) |
void |
setCharacterStream(String parameterName,
Reader x,
long length)
Sets the designated parameter to the given Reader, which will have
the specified number of bytes.
|
void |
setClob(String parameterName,
Clob x) |
void |
setClob(String parameterName,
Reader reader) |
void |
setClob(String parameterName,
Reader reader,
long length) |
void |
setNCharacterStream(int parameterIndex,
Reader value) |
void |
setNCharacterStream(int index,
Reader value,
long length) |
void |
setNCharacterStream(String parameterName,
Reader value) |
void |
setNCharacterStream(String parameterName,
Reader value,
long length) |
void |
setNClob(int index,
NClob value) |
void |
setNClob(int parameterIndex,
Reader reader) |
void |
setNClob(int parameterIndex,
Reader reader,
long length) |
void |
setNClob(String parameterName,
NClob value) |
void |
setNClob(String parameterName,
Reader reader) |
void |
setNClob(String parameterName,
Reader reader,
long length) |
void |
setNString(int index,
String value)
The methods from PreparedStatement for JDBC 4.0.
|
void |
setNString(String parameterName,
String value) |
void |
setRowId(int parameterIndex,
RowId x) |
void |
setRowId(String parameterName,
RowId x) |
void |
setSQLXML(int parameterIndex,
SQLXML xmlObject) |
void |
setSQLXML(String parameterName,
SQLXML xmlObject) |
<T> T |
unwrap(Class<T> interfaces)
Returns
this if this class implements the interface |
clearParameters, finalize, getArray, getArray, getBigDecimal, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getClob, getClob, getDate, getDate, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getJdbcStatementInterfaceName, getLong, getLong, getObject, getObject, getObject, getObject, getRef, getRef, getShort, getShort, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getURL, getURL, isCallMode, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, reset, resetCallableStatement, resetCallableStatement, resetCallableStatement, setAsciiStream, setBigDecimal, setBinaryStream, setBoolean, setByte, setBytes, setCharacterStream, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setURL, wasNulladdBatch, completeDescribeInput, completeDescribeOutput, completeLocalCommit, completeLocalRollback, execute, execute, execute, execute, execute, executeBatch, executeBatchX, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, flowExecute, flowExecuteRead, flowExecuteWrite, getClientParamType, getMetaData, getParameterMetaData, initResetPreparedStatement, listenToUnitOfWork, makeNewClientParamTypeFrom, markClosed, readDescribeInput, readDescribeOutput, readExecute, resetPreparedStatement, resetPreparedStatement, resetPreparedStatement, setAndStoreClientParamType, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStreamX, setBlob, setBlob, setBlob, setBlobX, setBoolean, setByte, setBytes, setBytesX, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, singleHopPrepStmntExecuteQuery, writeDescribeInput, writeDescribeOutput, writeExecuteaccumulateWarning, addBatch, cancel, checkForDuplicateCursorName, checkForStoredProcResultSetCount, cleanSingleHopPrepStmnt, clearBatch, clearWarnings, close, closeX, completeExecute, completeExecuteCall, completeExecuteCall, completeExecuteCallOpenQuery, completeExecuteImmediate, completeExecuteSetStatement, completeOpenQuery, completePrepare, completePrepareDescribeOutput, completeSqlca, completeStatementIDRead, getConnection, getConnectionCallbackInterface, getFetchDirection, getFetchSize, getGeneratedKeys, getGuessedResultSetMetaData, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getSection, getSqlWarnings, getUpdateCount, getWarnings, initResetPreparedStatement, isClosed, isClosedNoThrow, isPoolable, isQueryMode, isWrapperFor, jdbc3FeatureNotSupported, jdbc3FeatureNotSupported, markAutoCommitted, needStatementUUID, readExecuteCall, readExecuteImmediate, readExecuteImmediateForBatch, readOpenQuery, readPrepare, readPrepareDescribeOutput, readSetSpecialRegister, readStatementID, removeClientCursorNameFromCache, resetStatement, resetStatement, resultSetCommitting, resultSetCommitting, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setOwner, setPoolable, setQueryTimeout, setupCursorNameCacheAndMappings, setUpdateCount, substituteClientCursorNameWithServerCursorName, upperCaseProcedureName, writeExecuteCall, writeExecuteImmediate, writeGetStmtUUID, writeOpenQuery, writePrepare, writePrepareDescribeOutput, writeSetSpecialRegisterclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBatch, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLaddBatch, cancel, clearBatch, clearWarnings, close, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutisWrapperForcompleteDescribeInput, completeDescribeOutputaccumulateWarning, completeExecute, completeExecuteCall, completeExecuteCall, completeExecuteCallOpenQuery, completeExecuteImmediate, completeExecuteSetStatement, completeOpenQuery, completePrepare, completePrepareDescribeOutput, completeSqlca, completeStatementIDRead, getConnectionCallbackInterface, getGuessedResultSetMetaData, getSectioncompleteLocalCommit, completeLocalRollback, listenToUnitOfWorkpublic CallableStatement40(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc) throws SqlException
agent - The instance of NetAgent associated with this
CallableStatement object.connection - The connection object associated with this
PreparedStatement Object.sql - A String object that is the SQL statement to be sent
to the database.type - One of the ResultSet type constantsconcurrency - One of the ResultSet concurrency constantsholdability - One of the ResultSet holdability constantscpc - The PooledConnection object that will be used to
notify the PooledConnection reference of the Error
Occurred and the Close events.SqlExceptionpublic Reader getCharacterStream(String parameterName) throws SQLException
SQLExceptionpublic Reader getNCharacterStream(int parameterIndex) throws SQLException
SQLExceptionpublic Reader getNCharacterStream(String parameterName) throws SQLException
SQLExceptionpublic String getNString(int parameterIndex) throws SQLException
SQLExceptionpublic String getNString(String parameterIndex) throws SQLException
SQLExceptionpublic RowId getRowId(int parameterIndex) throws SQLException
SQLExceptionpublic RowId getRowId(String parameterName) throws SQLException
SQLExceptionpublic void setRowId(String parameterName, RowId x) throws SQLException
SQLExceptionpublic void setBlob(String parameterName, Blob x) throws SQLException
SQLExceptionpublic void setClob(String parameterName, Clob x) throws SQLException
SQLExceptionpublic void setNString(String parameterName, String value) throws SQLException
SQLExceptionpublic void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException
SQLExceptionpublic void setNClob(String parameterName, NClob value) throws SQLException
SQLExceptionpublic void setClob(String parameterName, Reader reader, long length) throws SQLException
SQLExceptionpublic void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException
SQLExceptionpublic void setNClob(String parameterName, Reader reader, long length) throws SQLException
SQLExceptionpublic NClob getNClob(int i) throws SQLException
SQLExceptionpublic NClob getNClob(String parameterName) throws SQLException
SQLExceptionpublic void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException
SQLExceptionpublic SQLXML getSQLXML(int parameterIndex) throws SQLException
SQLExceptionpublic SQLXML getSQLXML(String parametername) throws SQLException
SQLExceptionpublic void setRowId(int parameterIndex,
RowId x)
throws SQLException
SQLExceptionpublic void setNString(int index,
String value)
throws SQLException
SQLExceptionpublic void setNCharacterStream(int parameterIndex,
Reader value)
throws SQLException
SQLExceptionpublic void setNCharacterStream(int index,
Reader value,
long length)
throws SQLException
SQLExceptionpublic void setNClob(int index,
NClob value)
throws SQLException
SQLExceptionpublic void setNClob(int parameterIndex,
Reader reader)
throws SQLException
SQLExceptionpublic void setNClob(int parameterIndex,
Reader reader,
long length)
throws SQLException
SQLExceptionpublic void setSQLXML(int parameterIndex,
SQLXML xmlObject)
throws SQLException
SQLExceptionpublic void setAsciiStream(String parameterName, InputStream x) throws SQLException
SQLExceptionpublic void setBinaryStream(String parameterName, InputStream x) throws SQLException
SQLExceptionpublic void setBlob(String parameterName, InputStream inputStream) throws SQLException
SQLExceptionpublic void setCharacterStream(String parameterName, Reader reader) throws SQLException
SQLExceptionpublic void setClob(String parameterName, Reader reader) throws SQLException
SQLExceptionpublic void setNCharacterStream(String parameterName, Reader value) throws SQLException
SQLExceptionpublic void setNClob(String parameterName, Reader reader) throws SQLException
SQLExceptionpublic <T> T unwrap(Class<T> interfaces) throws SQLException
this if this class implements the interfaceinterfaces - a Class defining an interfacejava.sql.SQLExption - if no object if found that implements the
interfaceSQLExceptionpublic final void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException
parameterName - the name of the first parameterx - the java input stream which contains the ASCII parameter valuelength - the number of bytes in the streamSQLException - thrown on failure.public final void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException
parameterName - the name of the first parameterx - the java input stream which contains the binary parameter valuelength - the number of bytes in the streamSQLException - thrown on failure.public final void setCharacterStream(String parameterName, Reader x, long length) throws SQLException
parameterName - the name of the first parameterx - the java Reader which contains the UNICODE valuelength - the number of bytes in the streamSQLException - thrown on failure.public void closeOnCompletion()
throws SQLException
SQLExceptionpublic boolean isCloseOnCompletion()
throws SQLException
SQLExceptionpublic <T> T getObject(int parameterIndex,
Class<T> type)
throws SQLException
SQLExceptionpublic <T> T getObject(String parameterName, Class<T> type) throws SQLException
SQLExceptionpublic NetResultSet getSuperResultSet() throws SQLException
getSuperResultSet in class PreparedStatementSQLExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.