| Modifier and Type | Method and Description |
|---|---|
| public BatchUpdateException | Returns: a batch exceptionMachinery for writing log messages logWriter, ClientMessageId Client message handle msgid, Object[] Arguments to be plugged into the message args, long[] Update counts to include in message updateCounts, SqlException Original exception cause)Creates a BatchUpdateException depending on the JVM level. |
| public LogicalConnection | Returns: A logical connection with statement caching capabilities.the underlying physical connection physicalConnection, ClientPooledConnection the pooled connection pooledConnection, JDBCStatementCache statement cache stmtCache)Returns an instance of a |
| public ClientCallableStatement | Returns: a CallableStatement objectThe instance of NetAgent associated with this
CallableStatement object. agent, ClientConnection The connection object associated with this
PreparedStatement Object. connection, String A String object that is the SQL statement to be sent
to the database. sql, int One of the ResultSet type constants type, int One of the ResultSet concurrency constants concurrency, int One of the ResultSet holdability constants holdability, ClientPooledConnection The PooledConnection object that will be used to
notify the PooledConnection reference of the Error
Occurred and the Close events. cpc)Returns an instance of ClientCallableStatement, ClientCallableStatement40 or ClientCallableStatement42 which all implement java.sql.CallableStatement. |
| public ClientPooledConnection | Returns: a pooled connectionThe data source ds, LogWriter The machinery for writing diagnostic messages logWriter, String The user name user, String The corresponding password password)This method is used to return an instance of the |
| public ClientXAConnection | Returns: an XA connectionThe data source ds, LogWriter The machinery for writing diagnostic messages logWriter, String The user name user, String The corresponding password password)This method is used to return an instance of
ClientXAConnection (or ClientXAConnection40) class which
implements |
| public ColumnMetaData | Returns: a ColumnMetaData implementationLogWriter logWriter)Returns an instanceof ColumnMetaData or ColumnMetaData40 depending on the jdk version under use |
| public ColumnMetaData | Returns: a ColumnMetaData implementationLogWriter logWriter, int int upperBound)Returns an instanceof ColumnMetaData or ColumnMetaData40 depending on the jdk version under use |
| public LogicalCallableStatement | Returns: A logical callable statement.underlying physical callable statement cs, StatementKey key for the underlying physical callable statement stmtKey, StatementCacheInteractor the statement cache interactor cacheInteractor)Returns a new logical callable statement object. |
| public LogicalConnection | Returns: a logical connectionThe physical connection physicalConnection, ClientPooledConnection The pooled connection pooledConnection)Returns an instance of LogicalConnection. |
| public LogicalPreparedStatement | Returns: A logical prepared statement.underlying physical prepared statement ps, StatementKey key for the underlying physical prepared statement stmtKey, StatementCacheInteractor the statement cache interactor cacheInteractor)Returns a new logical prepared statement object. |
| public ClientConnection | Returns: a client connectionMachinery for logging diagnostics logWriter, int Connection timeout driverManagerLoginTimeout, String Name of server serverName, int Server port portNumber, String Name of database databaseName, Properties Connection properties properties)This method returns an instance of NetConnection (or NetConnection40) class which extends from ClientConnection this implements the java.sql.Connection interface |
| public ClientConnection | Returns: a client connectionMachinery for logging diagnostics logWriter, String User name user, String Corresponding password password, BasicClientDataSource Data source to connect to dataSource, int id rmId, boolean True if an XA connection is needed isXAConn)This method returns an instance of NetConnection (or NetConnection40) class which extends from ClientConnection. |
| public ClientConnection | Returns: a client connectionLogWriter object associated with this connection logWriter, String user id for this connection user, String password for this connection password, BasicClientDataSource The DataSource object passed from the PooledConnection
object from which this constructor was called dataSource, int The Resource Manager ID for XA Connections rmId, boolean true if this is a XA connection isXAConn, ClientPooledConnection The ClientPooledConnection object from which this
NetConnection constructor was called. This is used
to pass StatementEvents back to the pooledConnection
object cpc)This method returns an instance of NetConnection (or NetConnection40) class which extends Connection. |
| public ClientDatabaseMetaData | Returns: database meta dataWrapped agent netAgent, ClientConnection Wrapped connection netConnection)This method provides an instance of NetDatabaseMetaData (or
NetDatabaseMetaData40) which extends from ClientDatabaseMetaData
which implements |
| public ClientResultSet | Returns: a result setThe wrapped agent netAgent, MaterialStatement The wrapped statement netStatement, Cursor The wrapped cursor cursor, int DRDA variable qryprctyp, int DRDA variable sqlcsrhld, int DRDA variable qryattscr, int DRDA variable qryattsns, int DRDA variable qryattset, long DRDA variable qryinsid, int Type of result set actualResultSetType, int Concurrency level actualResultSetConcurrency, int Whether results are holdable actualResultSetHoldability)This method returns an instance of NetResultSet(or
NetResultSet40) which extends from ClientResultSet which implements
|
| public ClientParameterMetaData | Returns: a ParameterMetaData implementationColumnMetaData columnMetaData)returns an instance of ParameterMetaData or ParameterMetaData40 depending on the jdk version under use |
| public ClientPreparedStatement | Returns: a PreparedStatement objectThe instance of NetAgent associated with this
CallableStatement object. agent, ClientConnection The connection object associated with this
PreparedStatement Object. connection, String A String object that is the SQL statement to be sent
to the database. sql, Section Section section, ClientPooledConnection 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. cpc)This method returns an instance of PreparedStatement
(or PreparedStatement40) which implements
|
| public ClientPreparedStatement | Returns: a PreparedSatement objectThe instance of NetAgent associated with this
CallableStatement object. agent, ClientConnection The connection object associated with this
PreparedStatement Object. connection, String A String object that is the SQL statement
to be sent to the database. sql, int One of the ResultSet type constants. type, int One of the ResultSet concurrency constants. concurrency, int One of the ResultSet holdability constants. holdability, int a flag indicating whether auto-generated
keys should be returned. autoGeneratedKeys, String[] an array of column names indicating the columns that
should be returned from the inserted row or rows. columnNames, int[] an array of column indexes indicating the columns
that should be returned form the inserted row. columnIndexes, ClientPooledConnection 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. cpc)Returns an instance of PreparedStatement (or
PreparedStatement40) which implements |
| public ClientStatement | Returns: ajava.sql.Statement implementationAgent agent, ClientConnection Connection connection, int int type, int int concurrency, int int holdability, int int autoGeneratedKeys, String[] String[] columnNames, int[] int[] columnIndexes)This method provides an instance of Statement or Statement40 depending on the jdk version under use |
| newBatchUpdateException | back to summary |
|---|---|
| public BatchUpdateException newBatchUpdateException(LogWriter logWriter, ClientMessageId msgid, Object[] args, long[] updateCounts, SqlException cause) Creates a BatchUpdateException depending on the JVM level.
| |
| newCachingLogicalConnection | back to summary |
|---|---|
| public LogicalConnection newCachingLogicalConnection(ClientConnection physicalConnection, ClientPooledConnection pooledConnection, JDBCStatementCache stmtCache) throws SqlException Returns an instance of a
| |
| newCallableStatement | back to summary |
|---|---|
| public ClientCallableStatement newCallableStatement(Agent agent, ClientConnection connection, String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc) throws SqlException Returns an instance of ClientCallableStatement, ClientCallableStatement40 or ClientCallableStatement42 which all implement java.sql.CallableStatement.
| |
| newClientPooledConnection | back to summary |
|---|---|
| public ClientPooledConnection newClientPooledConnection(BasicClientDataSource ds, LogWriter logWriter, String user, String password) throws SQLException This method is used to return an instance of the
| |
| newClientXAConnection | back to summary |
|---|---|
| public ClientXAConnection newClientXAConnection(BasicClientDataSource ds, LogWriter logWriter, String user, String password) throws SQLException This method is used to return an instance of
ClientXAConnection (or ClientXAConnection40) class which
implements
| |
| newColumnMetaData | back to summary |
|---|---|
| public ColumnMetaData newColumnMetaData(LogWriter logWriter) Returns an instanceof ColumnMetaData or ColumnMetaData40 depending on the jdk version under use
| |
| newColumnMetaData | back to summary |
|---|---|
| public ColumnMetaData newColumnMetaData(LogWriter logWriter, int upperBound) Returns an instanceof ColumnMetaData or ColumnMetaData40 depending on the jdk version under use
| |
| newLogicalCallableStatement | back to summary |
|---|---|
| public LogicalCallableStatement newLogicalCallableStatement(CallableStatement cs, StatementKey stmtKey, StatementCacheInteractor cacheInteractor) Returns a new logical callable statement object.
| |
| newLogicalConnection | back to summary |
|---|---|
| public LogicalConnection newLogicalConnection(ClientConnection physicalConnection, ClientPooledConnection pooledConnection) throws SqlException Returns an instance of LogicalConnection.
This method returns an instance of LogicalConnection
(or LogicalConnection40) which implements
| |
| newLogicalPreparedStatement | back to summary |
|---|---|
| public LogicalPreparedStatement newLogicalPreparedStatement(PreparedStatement ps, StatementKey stmtKey, StatementCacheInteractor cacheInteractor) Returns a new logical prepared statement object.
| |
| newNetConnection | back to summary |
|---|---|
| public ClientConnection newNetConnection(LogWriter logWriter, int driverManagerLoginTimeout, String serverName, int portNumber, String databaseName, Properties properties) throws SqlException This method returns an instance of NetConnection (or NetConnection40) class which extends from ClientConnection this implements the java.sql.Connection interface
| |
| newNetConnection | back to summary |
|---|---|
| public ClientConnection newNetConnection(LogWriter logWriter, String user, String password, BasicClientDataSource dataSource, int rmId, boolean isXAConn) throws SqlException This method returns an instance of NetConnection (or
NetConnection40) class which extends from ClientConnection. This
implements the
| |
| newNetConnection | back to summary |
|---|---|
| public ClientConnection newNetConnection(LogWriter logWriter, String user, String password, BasicClientDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc) throws SqlException This method returns an instance of NetConnection (or NetConnection40)
class which extends Connection.
This implements the
| |
| newNetDatabaseMetaData | back to summary |
|---|---|
| public ClientDatabaseMetaData newNetDatabaseMetaData(Agent netAgent, ClientConnection netConnection) This method provides an instance of NetDatabaseMetaData (or
NetDatabaseMetaData40) which extends from ClientDatabaseMetaData
which implements
| |
| newNetResultSet | back to summary |
|---|---|
| public ClientResultSet newNetResultSet(Agent netAgent, MaterialStatement netStatement, Cursor cursor, int qryprctyp, int sqlcsrhld, int qryattscr, int qryattsns, int qryattset, long qryinsid, int actualResultSetType, int actualResultSetConcurrency, int actualResultSetHoldability) throws SqlException This method returns an instance of NetResultSet(or
NetResultSet40) which extends from ClientResultSet which implements
| |
| newParameterMetaData | back to summary |
|---|---|
| public ClientParameterMetaData newParameterMetaData(ColumnMetaData columnMetaData) returns an instance of ParameterMetaData or ParameterMetaData40 depending on the jdk version under use
| |
| newPreparedStatement | back to summary |
|---|---|
| public ClientPreparedStatement newPreparedStatement(Agent agent, ClientConnection connection, String sql, Section section, ClientPooledConnection cpc) throws SqlException This method returns an instance of PreparedStatement
(or PreparedStatement40) which implements
| |
| newPreparedStatement | back to summary |
|---|---|
| public ClientPreparedStatement newPreparedStatement(Agent agent, ClientConnection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc) throws SqlException Returns an instance of PreparedStatement (or
PreparedStatement40) which implements
| |
| newStatement | back to summary |
|---|---|
| public ClientStatement newStatement(Agent agent, ClientConnection connection, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes) throws SqlException This method provides an instance of Statement or Statement40 depending on the jdk version under use
| |