MySQL Connector/J size='-1'>5.1.6

Uses of Interface
com.mysql.jdbc.Connection

Packages that use Connection
com.mysql.jdbc   
com.mysql.jdbc.interceptors   
com.mysql.jdbc.jdbc2.optional   
com.mysql.jdbc.profiler   
 

Uses of Connection in com.mysql.jdbc
 

Fields in com.mysql.jdbc declared as Connection
protected  Connection ReplicationConnection.currentConnection
           
protected  Connection ReplicationConnection.masterConnection
           
protected  Connection ReplicationConnection.slavesConnection
           
 

Methods in com.mysql.jdbc that return Connection
 Connection LoadBalancingConnectionProxy.createConnectionForHost(java.lang.String hostPortSpec)
          Creates a new physical connection for the given host:port and updates required internal mappings and statistics for that connection.
protected  Connection ConnectionImpl.duplicate()
           
 Connection ReplicationConnection.getCurrentConnection()
           
protected static Connection ConnectionImpl.getInstance(java.lang.String hostToConnectTo, int portToConnectTo, java.util.Properties info, java.lang.String databaseToConnectTo, java.lang.String url)
          Creates a connection instance -- We need to provide factory-style methods so we can support both JDBC3 (and older) and JDBC4 runtimes, otherwise the class verifier complains when it tries to load JDBC4-only interface classes that are present in JDBC4 method signatures.
 Connection ReplicationConnection.getMasterConnection()
           
 Connection ReplicationConnection.getSlavesConnection()
           
 Connection RandomBalanceStrategy.pickConnection(LoadBalancingConnectionProxy proxy, java.util.List configuredHosts, java.util.Map liveConnections, long[] responseTimes, int numRetries)
           
 Connection BestResponseTimeBalanceStrategy.pickConnection(LoadBalancingConnectionProxy proxy, java.util.List configuredHosts, java.util.Map liveConnections, long[] responseTimes, int numRetries)
           
 Connection BalanceStrategy.pickConnection(LoadBalancingConnectionProxy proxy, java.util.List configuredHosts, java.util.Map liveConnections, long[] responseTimes, int numRetries)
          Called by the driver to pick a new connection to route requests over.
 

Methods in com.mysql.jdbc with parameters of type Connection
static SingleByteCharsetConverter SingleByteCharsetConverter.getInstance(java.lang.String encodingName, Connection conn)
          Get a converter for the given encoding name
static java.lang.String CharsetMapping.getJavaEncodingForMysqlEncoding(java.lang.String mysqlEncoding, Connection conn)
           
static java.lang.String CharsetMapping.getMysqlEncodingForJavaEncoding(java.lang.String javaEncodingUC, Connection conn)
           
 boolean ConnectionImpl.hasSameProperties(Connection c)
           
 void RandomBalanceStrategy.init(Connection conn, java.util.Properties props)
           
 void StatementInterceptor.init(Connection conn, java.util.Properties props)
          Called once per connection that wants to use the interceptor The properties are the same ones passed in in the URL or arguments to Driver.connect() or DriverManager.getConnection().
 void BestResponseTimeBalanceStrategy.init(Connection conn, java.util.Properties props)
           
 void Extension.init(Connection conn, java.util.Properties props)
          Called once per connection that wants to use the extension The properties are the same ones passed in in the URL or arguments to Driver.connect() or DriverManager.getConnection().
 boolean ConnectionImpl.isSameResource(Connection otherConnection)
           
 boolean Connection.isSameResource(Connection c)
          Does this connection have the same resource name as the given connection (for XA)?
 boolean ReplicationConnection.isSameResource(Connection c)
           
static java.util.List Util.loadExtensions(Connection conn, java.util.Properties props, java.lang.String extensionClassNames, java.lang.String errorMessageKey)
           
 ResultSetInternalMethods StatementInterceptor.postProcess(java.lang.String sql, Statement interceptedStatement, ResultSetInternalMethods originalResultSet, Connection connection)
          Called after the given statement has been sent to the server for processing.
 ResultSetInternalMethods StatementInterceptor.preProcess(java.lang.String sql, Statement interceptedStatement, Connection connection)
          Called before the given statement is going to be sent to the server for processing.
 

Uses of Connection in com.mysql.jdbc.interceptors
 

Methods in com.mysql.jdbc.interceptors with parameters of type Connection
 void ServerStatusDiffInterceptor.init(Connection conn, java.util.Properties props)
           
 void ResultSetScannerInterceptor.init(Connection conn, java.util.Properties props)
           
 void SessionAssociationInterceptor.init(Connection conn, java.util.Properties props)
           
 ResultSetInternalMethods ServerStatusDiffInterceptor.postProcess(java.lang.String sql, Statement interceptedStatement, ResultSetInternalMethods originalResultSet, Connection connection)
           
 ResultSetInternalMethods ResultSetScannerInterceptor.postProcess(java.lang.String sql, Statement interceptedStatement, ResultSetInternalMethods originalResultSet, Connection connection)
           
 ResultSetInternalMethods SessionAssociationInterceptor.postProcess(java.lang.String sql, Statement interceptedStatement, ResultSetInternalMethods originalResultSet, Connection connection)
           
 ResultSetInternalMethods ServerStatusDiffInterceptor.preProcess(java.lang.String sql, Statement interceptedStatement, Connection connection)
           
 ResultSetInternalMethods ResultSetScannerInterceptor.preProcess(java.lang.String sql, Statement interceptedStatement, Connection connection)
           
 ResultSetInternalMethods SessionAssociationInterceptor.preProcess(java.lang.String sql, Statement interceptedStatement, Connection connection)
           
 

Uses of Connection in com.mysql.jdbc.jdbc2.optional
 

Fields in com.mysql.jdbc.jdbc2.optional declared as Connection
protected  Connection ConnectionWrapper.mc
           
 

Methods in com.mysql.jdbc.jdbc2.optional with parameters of type Connection
protected static MysqlPooledConnection MysqlPooledConnection.getInstance(Connection connection)
           
protected static ConnectionWrapper ConnectionWrapper.getInstance(MysqlPooledConnection mysqlPooledConnection, Connection mysqlConnection, boolean forXa)
           
 boolean ConnectionWrapper.isSameResource(Connection c)
           
 

Constructors in com.mysql.jdbc.jdbc2.optional with parameters of type Connection
ConnectionWrapper(MysqlPooledConnection mysqlPooledConnection, Connection mysqlConnection, boolean forXa)
          Construct a new LogicalHandle and set instance variables
JDBC4ConnectionWrapper(MysqlPooledConnection mysqlPooledConnection, Connection mysqlConnection, boolean forXa)
          Construct a new LogicalHandle and set instance variables
JDBC4MysqlPooledConnection(Connection connection)
           
MysqlPooledConnection(Connection connection)
          Construct a new MysqlPooledConnection and set instance variables
 

Uses of Connection in com.mysql.jdbc.profiler
 

Methods in com.mysql.jdbc.profiler with parameters of type Connection
static ProfilerEventHandler ProfilerEventHandlerFactory.getInstance(Connection conn)
          Returns the ProfilerEventHandlerFactory that handles profiler events for the given connection.
 void LoggingProfilerEventHandler.init(Connection conn, java.util.Properties props)
           
static void ProfilerEventHandlerFactory.removeInstance(Connection conn)
           
 


MySQL Connector/J size='-1'>5.1.6