public class ClientJDBCObjectFactoryImpl42 extends ClientJDBCObjectFactoryImpl40
| Constructor and Description |
|---|
ClientJDBCObjectFactoryImpl42() |
| Modifier and Type | Method and Description |
|---|---|
protected java.sql.BatchUpdateException |
newBatchUpdateException(java.lang.String message,
java.lang.String sqlState,
int errorCode,
long[] updateCounts,
SqlException cause)
This method is overriden on JVM 8 to take advantage of long update counts
|
CallableStatement |
newCallableStatement(Agent agent,
Connection connection,
java.lang.String sql,
int type,
int concurrency,
int holdability,
ClientPooledConnection cpc)
return a CallableStatement
|
LogicalCallableStatement |
newLogicalCallableStatement(java.sql.CallableStatement cs,
StatementKey stmtKey,
StatementCacheInteractor cacheInteractor)
Returns a new logical callable statement object.
|
LogicalPreparedStatement |
newLogicalPreparedStatement(java.sql.PreparedStatement ps,
StatementKey stmtKey,
StatementCacheInteractor cacheInteractor)
Returns a new logcial prepared statement object.
|
ResultSet |
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)
returns an instance of org.apache.derby.client.net.NetResultSet
|
PreparedStatement |
newPreparedStatement(Agent agent,
Connection connection,
java.lang.String sql,
int type,
int concurrency,
int holdability,
int autoGeneratedKeys,
java.lang.String[] columnNames,
int[] columnIndexes,
ClientPooledConnection cpc)
This method returns an instance of PreparedStatement
which implements java.sql.PreparedStatement.
|
PreparedStatement |
newPreparedStatement(Agent agent,
Connection connection,
java.lang.String sql,
Section section,
ClientPooledConnection cpc)
Returns a PreparedStatement.
|
newCachingLogicalConnection, newClientPooledConnection, newClientPooledConnection, newClientXAConnection, newLogicalConnection, newNetConnection, newNetConnection, newNetConnection, newNetConnection, newNetConnection, newNetConnection, newNetDatabaseMetaDatanewBatchUpdateException, newColumnMetaData, newColumnMetaData, newParameterMetaData, newStatement, newStatementprotected java.sql.BatchUpdateException newBatchUpdateException(java.lang.String message,
java.lang.String sqlState,
int errorCode,
long[] updateCounts,
SqlException cause)
newBatchUpdateException in class ClientJDBCObjectFactoryImplpublic PreparedStatement newPreparedStatement(Agent agent, Connection connection, java.lang.String sql, Section section, ClientPooledConnection cpc) throws SqlException
newPreparedStatement in interface ClientJDBCObjectFactorynewPreparedStatement in class ClientJDBCObjectFactoryImpl40agent - 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.section - Sectioncpc - 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.SqlExceptionpublic PreparedStatement newPreparedStatement(Agent agent, Connection connection, java.lang.String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, java.lang.String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc) throws SqlException
newPreparedStatement in interface ClientJDBCObjectFactorynewPreparedStatement in class ClientJDBCObjectFactoryImpl40agent - 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 constants.concurrency - One of the ResultSet concurrency constants.holdability - One of the ResultSet holdability constants.autoGeneratedKeys - a flag indicating whether auto-generated
keys should be returned.columnNames - an array of column names indicating the columns that
should be returned from the inserted row or rows.columnIndexes - an array of column indexes indicating the columns
that should be returned from the inserted row.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.SqlExceptionpublic LogicalPreparedStatement newLogicalPreparedStatement(java.sql.PreparedStatement ps, StatementKey stmtKey, StatementCacheInteractor cacheInteractor)
newLogicalPreparedStatement in interface ClientJDBCObjectFactorynewLogicalPreparedStatement in class ClientJDBCObjectFactoryImpl40ps - underlying physical prepared statementstmtKey - key for the underlying physical prepared statementcacheInteractor - the statement cache interactorpublic ResultSet 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
newNetResultSet in interface ClientJDBCObjectFactorynewNetResultSet in class ClientJDBCObjectFactoryImpl40SqlExceptionpublic CallableStatement newCallableStatement(Agent agent, Connection connection, java.lang.String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc) throws SqlException
newCallableStatement in interface ClientJDBCObjectFactorynewCallableStatement in class ClientJDBCObjectFactoryImpl40agent - 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 LogicalCallableStatement newLogicalCallableStatement(java.sql.CallableStatement cs, StatementKey stmtKey, StatementCacheInteractor cacheInteractor)
newLogicalCallableStatement in interface ClientJDBCObjectFactorynewLogicalCallableStatement in class ClientJDBCObjectFactoryImpl40cs - underlying physical callable statementstmtKey - key for the underlying physical callable statementcacheInteractor - the statement cache interactorApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.