| Modifier and Type | Field and Description |
|---|---|
| private static final MessageUtil | msgutil_
The message utility instance we use to find messages It's primed with the name of the client message bundle so that it knows to look there if the message isn't found in the shared message bundle. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public BatchUpdateException | newBatchUpdateException(LogWriter
Machinery 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)Implements org. |
| protected BatchUpdateException | Returns: a batch update exceptionThe message to put in the exception message, String The SQLState to put in the exception sqlState, int The errorCode to put in the exception errorCode, long[] The array of update counts updateCounts, SqlException The original exception cause)This method is overridden on JVM 8 |
| public LogicalConnection | Returns: A logical connection with statement caching capabilities.the underlying physical connection physicalConnection, ClientPooledConnection the pooled connection pooledConnection, JDBCStatementCache statement cache stmtCache)Implements org. org., which provides
caching of prepared statements.
|
| public ClientCallableStatement | Returns: aorg.
objectThe instance of NetAgent associated with this
agent, ClientConnection org.
object.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)Implements org. |
| public ClientPooledConnection | Returns: an instance oforg.The data source ds, LogWriter The machinery for writing diagnostic messages logWriter, String The user name user, String The corresponding password password)Implements org. org. class which
implements javax.sql.PooledConnection.
|
| public ClientXAConnection | Returns: an instance oforg.The data source ds, LogWriter The machinery for writing diagnostic messages logWriter, String The user name user, String The corresponding password password)Implements org. javax.sql.XAConnection.
|
| public ColumnMetaData | Returns: a ColumnMetaData implementationLogWriter logWriter)Implements org. |
| public ColumnMetaData | Returns: a ColumnMetaData implementationLogWriter logWriter, int int upperBound)Implements org. |
| 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)Implements org. |
| public LogicalConnection | Returns: an instance oforg.The physical connection physicalConnection, ClientPooledConnection The pooled connection pooledConnection)Implements org. |
| 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)Implements org. |
| public ClientConnection | Returns: an instance oforg.Machinery 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)Implements org. |
| public ClientConnection | Returns: an instance oforg.Machinery 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)Implements org. |
| public ClientConnection | Returns: aClientConnection objectLogWriter 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)Implements org. |
| public ClientDatabaseMetaData | Returns: an instance ofNetDatabaseMetaDataWrapped agent netAgent, ClientConnection Wrapped connection netConnection)Implements org. java.sql.DatabaseMetaData.
|
| public ClientResultSet | Returns: an instance ofNetResultSetThe 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)Implements org. java.sql.ResultSet.
|
| public ClientParameterMetaData | Returns: a ParameterMetaData implementationColumnMetaData columnMetaData)Implements org. |
| public ClientPreparedStatement | Returns: a PreparedStatement objectThe instance of NetAgent associated with this
agent, ClientConnection org.
object.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)Implements org. |
| public ClientPreparedStatement | Returns: a PreparedStatement objectThe instance of NetAgent associated with this
agent, ClientConnection org.
object.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)Implements org. java.sql.PreparedStatement.
|
| public ClientStatement | Returns: a ClientStatement implementationAgent agent, ClientConnection Connection connection, int int type, int int concurrency, int int holdability, int int autoGeneratedKeys, String[] String[] columnNames, int[] int[] columnIndexes)Implements org. |
| msgutil_ | back to summary |
|---|---|
| private static final MessageUtil msgutil_ The message utility instance we use to find messages It's primed with the name of the client message bundle so that it knows to look there if the message isn't found in the shared message bundle. | |
| ClientJDBCObjectFactoryImpl | back to summary |
|---|---|
| public ClientJDBCObjectFactoryImpl() | |
| newBatchUpdateException | back to summary |
|---|---|
| protected BatchUpdateException newBatchUpdateException(String message, String sqlState, int errorCode, long[] updateCounts, SqlException cause) This method is overridden on JVM 8
| |
| newCachingLogicalConnection | back to summary |
|---|---|
| public LogicalConnection newCachingLogicalConnection(ClientConnection physicalConnection, ClientPooledConnection pooledConnection, JDBCStatementCache stmtCache) throws SqlException Implements org. 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 Implements org. Returns an instance of ClientCallableStatement.
| |
| newClientPooledConnection | back to summary |
|---|---|
| public ClientPooledConnection newClientPooledConnection(BasicClientDataSource ds, LogWriter logWriter, String user, String password) throws SQLException Implements org. Doc from org. 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 Implements org. Doc from org. This method is used to return an instance of
ClientXAConnection (or ClientXAConnection40) class which
implements
| |
| newColumnMetaData | back to summary |
|---|---|
| public ColumnMetaData newColumnMetaData(LogWriter logWriter) Implements org. Returns an instance of ColumnMetaData
| |
| newColumnMetaData | back to summary |
|---|---|
| public ColumnMetaData newColumnMetaData(LogWriter logWriter, int upperBound) Implements org. Returns an instance of ColumnMetaData or ColumnMetaData40 depending on the JDK version under use
| |
| newLogicalCallableStatement | back to summary |
|---|---|
| public LogicalCallableStatement newLogicalCallableStatement(CallableStatement cs, StatementKey stmtKey, StatementCacheInteractor cacheInteractor) Implements org. Returns a new logical callable statement object.
| |
| newLogicalConnection | back to summary |
|---|---|
| public LogicalConnection newLogicalConnection(ClientConnection physicalConnection, ClientPooledConnection pooledConnection) throws SqlException Implements org. Doc from org. 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) Implements org. 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 Implements org. Doc from org. 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 Implements org. Doc from org. 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 Implements org. Returns an instance of NetConnection.
| |
| newNetDatabaseMetaData | back to summary |
|---|---|
| public ClientDatabaseMetaData newNetDatabaseMetaData(Agent netAgent, ClientConnection netConnection) Implements org. Doc from org. 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 Implements org. Doc from org. This method returns an instance of NetResultSet(or
NetResultSet40) which extends from ClientResultSet which implements
| |
| newParameterMetaData | back to summary |
|---|---|
| public ClientParameterMetaData newParameterMetaData(ColumnMetaData columnMetaData) Implements org. returns an instance of ParameterMetaData
| |
| newPreparedStatement | back to summary |
|---|---|
| public ClientPreparedStatement newPreparedStatement(Agent agent, ClientConnection connection, String sql, Section section, ClientPooledConnection cpc) throws SqlException Implements org. This method returns an instance of ClientPreparedStatement which implements java.sql.PreparedStatement. It has the ClientPooledConnection as one of its parameters this is used to raise the Statement Events when the prepared statement is closed.
| |
| 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 Implements org. This method returns an instance of ClientPreparedStatement
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 Implements org. This method provides an instance of Statement
| |