| java.lang.Object org.apache.derby.client.net.NetStatement org.apache.derby.client.net.NetPreparedStatement
All known Subclasses: org.apache.derby.client.net.NetCallableStatement,
Constructor Summary | |
| NetPreparedStatement(org.apache.derby.client.am.PreparedStatement statement, NetAgent netAgent, NetConnection netConnection) | | NetPreparedStatement(NetAgent netAgent, NetConnection netConnection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, ClientPooledConnection cpc) The constructor for the NetPreparedStatement class. | | NetPreparedStatement(NetAgent netAgent, NetConnection netConnection, String sql, Section section, ClientPooledConnection cpc) The constructor for the NetPreparedStatement class. |
Method Summary | |
protected void | finalize() | public void | readDescribeInput_() | public void | readDescribeOutput_() | public void | readExecute_() | void | resetNetPreparedStatement(org.apache.derby.client.am.PreparedStatement statement, NetAgent netAgent, NetConnection netConnection) | void | resetNetPreparedStatement(NetAgent netAgent, NetConnection netConnection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames) | void | resetNetPreparedStatement(NetAgent netAgent, NetConnection netConnection, String sql, Section section) | void | resetNetPreparedStatement(NetAgent netAgent, NetConnection netConnection, String sql, Section section, ColumnMetaData parameterMetaData, ColumnMetaData resultSetMetaData) | public void | writeDescribeInput_(Section section) | public void | writeDescribeOutput_(Section section) | public void | writeExecute_(Section section, ColumnMetaData parameterMetaData, Object[] inputs, int numInputColumns, boolean outputExpected, boolean chainedWritesFollowingSetLob) | public void | writeOpenQuery_(Section section, int fetchSize, int resultSetType, int numInputColumns, ColumnMetaData parameterMetaData, Object[] inputs) |
NetPreparedStatement | NetPreparedStatement(NetAgent netAgent, NetConnection netConnection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, ClientPooledConnection cpc) throws SqlException(Code) | | The constructor for the NetPreparedStatement class. Called by abstract
Connection.prepareStatment().newPreparedStatement()
for jdbc 2 prepared statements with scroll attributes.
It has the ClientPooledConnection as one of its parameters
this is used to raise the Statement Events when the prepared
statement is closed.
Parameters: netAgent - The instance of NetAgent associated with thisCallableStatement object. Parameters: netConnection - The connection object associated with thisPreparedStatement Object. Parameters: sql - A String object that is the SQL statementto be sent to the database. Parameters: type - One of the ResultSet type constants. Parameters: concurrency - One of the ResultSet concurrency constants. Parameters: holdability - One of the ResultSet holdability constants. Parameters: autoGeneratedKeys - a flag indicating whether auto-generatedkeys should be returned. Parameters: columnNames - A String array of column names indicatingthe columns that should be returnedfrom the inserted row or rows. Parameters: cpc - The ClientPooledConnection wraps the underlying physicalconnection associated with this prepared statementit is used to pass the Statement closed and the Statementerror occurred events that occur back to theClientPooledConnection. throws: SqlException - |
NetPreparedStatement | NetPreparedStatement(NetAgent netAgent, NetConnection netConnection, String sql, Section section, ClientPooledConnection cpc) throws SqlException(Code) | | The constructor for the NetPreparedStatement class. For JDBC 3.0
positioned updates.It has the ClientPooledConnection as one of
its parameters this is used to raise the Statement Events when the
prepared statement is closed.
Parameters: netAgent - The instance of NetAgent associated with thisCallableStatement object. Parameters: netConnection - The connection object associated with this PreparedStatement Object. Parameters: sql - A String object that is the SQL statement to be sent to the database. Parameters: section - Parameters: cpc - The ClientPooledConnection wraps the underlying physical connection associated with this prepared statement it is used to pass the Statement closed and the Statement error occurred events that occur back to the ClientPooledConnection throws: SqlException - |
Methods inherited from org.apache.derby.client.net.NetStatement | protected void finalize() throws java.lang.Throwable(Code)(Java Doc) public void markClosedOnServer_()(Code)(Java Doc) void netReset(NetAgent netAgent, NetConnection netConnection) throws SqlException(Code)(Java Doc) public void readExecuteCall_() throws SqlException(Code)(Java Doc) public void readExecuteImmediateForBatch_(String sql) throws SqlException(Code)(Java Doc) public void readExecuteImmediate_() throws SqlException(Code)(Java Doc) public void readOpenQuery_() throws SqlException(Code)(Java Doc) public void readPrepareDescribeOutput_() throws SqlException(Code)(Java Doc) public void readPrepare_() throws SqlException(Code)(Java Doc) public void readSetSpecialRegister_() throws SqlException(Code)(Java Doc) void resetNetStatement(org.apache.derby.client.am.Statement statement, NetAgent netAgent, NetConnection netConnection)(Code)(Java Doc) void resetNetStatement(NetAgent netAgent, NetConnection netConnection, int type, int concurrency, int holdability) throws SqlException(Code)(Java Doc) public void reset_()(Code)(Java Doc) public void writeExecuteCall_(boolean outputExpected, String procedureName, Section section, int fetchSize, boolean suppressResultSets, int resultSetType, ColumnMetaData parameterMetaData, Object[] inputs) throws SqlException(Code)(Java Doc) public void writeExecuteImmediate_(String sql, Section section) throws SqlException(Code)(Java Doc) public void writeOpenQuery_(Section section, int fetchSize, int resultSetType) throws SqlException(Code)(Java Doc) public void writePrepareDescribeOutput_(String sql, Section section) throws SqlException(Code)(Java Doc) public void writePrepare_(String sql, Section section) throws SqlException(Code)(Java Doc) public void writeSetSpecialRegister_(java.util.ArrayList sqlsttList) throws SqlException(Code)(Java Doc)
|
|
|