## Uses of Class
com.pivotal.gemfirexd.internal.jdbc.ClientBaseDataSource

Packages that use ClientBaseDataSource
Package | Description
--- | ---
com.pivotal.gemfirexd.internal.client |
com.pivotal.gemfirexd.internal.client.am |
com.pivotal.gemfirexd.internal.client.net |
com.pivotal.gemfirexd.internal.jdbc |

### Uses of ClientBaseDataSource in com.pivotal.gemfirexd.internal.client

Methods in com.pivotal.gemfirexd.internal.client with parameters of type ClientBaseDataSource
Modifier and Type | Method and Description
--- | ---
`protected NetXAConnection` | ClientPooledConnection.`getNetXAConnection(ClientBaseDataSource ds, NetLogWriter logWriter, String user, String password, int rmId)` creates and returns NetXAConnection.

Constructors in com.pivotal.gemfirexd.internal.client with parameters of type ClientBaseDataSource
Constructor and Description
`ClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` Constructor for non-XA pooled connections.
`ClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password, int rmId)` Constructor for XA pooled connections only.
`ClientPooledConnection40(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)`
`ClientPooledConnection40(ClientBaseDataSource ds, LogWriter logWriter, String user, String password, int rmId)`

### Uses of ClientBaseDataSource in com.pivotal.gemfirexd.internal.client.am

Fields in com.pivotal.gemfirexd.internal.client.am declared as ClientBaseDataSource
Modifier and Type | Field and Description
--- | ---
`ClientBaseDataSource` | Connection.`dataSource_`

Methods in com.pivotal.gemfirexd.internal.client.am with parameters of type ClientBaseDataSource
Modifier and Type | Method and Description
--- | ---
`protected void` | Connection.`initConnection(LogWriter logWriter, String password, ClientBaseDataSource dataSource)`
`ClientPooledConnection` | ClientJDBCObjectFactory.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` This method is used to return an instance of ClientPooledConnection (or ClientPooledConnection40) class which implements javax.sql.PooledConnection
`ClientPooledConnection` | ClientJDBCObjectFactory.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password, int rmId)` This method is used to return an instance of ClientPooledConnection(or ClientPooledConnection40) class which implements javax.sql.PooledConnection
`ClientXAConnection` | ClientJDBCObjectFactory.`newClientXAConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` This method is used to return an instance of ClientXAConnection (or ClientXAConnection40) class which implements javax.sql.XAConnection
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, ClientBaseDataSource clientDataSource, String user, String password)` This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String ipaddr, int portNumber, ClientBaseDataSource dataSource, boolean isXAConn)` This methos returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface
`Connection` | ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn)` This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface

`Connection`

ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)`
This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface This method is used to pass the ClientPooledConnection object to the NetConnection object which can then be used to pass the statement events back to the user

`protected abstract void` | Connection.`preAgentInitialize(String password, ClientBaseDataSource dataSource, Properties properties)`
`void` | LogWriter.`traceConnectEntry(ClientBaseDataSource dataSource)`
`void` | LogWriter.`traceConnectResetEntry(Object instance, LogWriter logWriter, String user, ClientBaseDataSource ds)`

Constructors in com.pivotal.gemfirexd.internal.client.am with parameters of type ClientBaseDataSource
Constructor and Description
`Connection(LogWriter logWriter, boolean isXAConn, ClientBaseDataSource dataSource)`
`Connection(LogWriter logWriter, String user, String password, boolean isXAConn, ClientBaseDataSource dataSource)`
`Connection(LogWriter logWriter, String user, String password, ClientBaseDataSource dataSource)`

### Uses of ClientBaseDataSource in com.pivotal.gemfirexd.internal.client.net

Methods in com.pivotal.gemfirexd.internal.client.net with parameters of type ClientBaseDataSource
Modifier and Type | Method and Description
--- | ---
`protected NetConnection` | NetXAConnection.`createNetConnection(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)` Creates NetConnection for the supported version of jdbc.
`ClientPooledConnection` | ClientJDBCObjectFactoryImpl40.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` Returns an instance of com.pivotal.gemfirexd.internal.client.ClientPooledConnection40
`ClientPooledConnection` | ClientJDBCObjectFactoryImpl40.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password, int rmId)` Returns an instance of com.pivotal.gemfirexd.internal.client.ClientPooledConnection40
`ClientXAConnection` | ClientJDBCObjectFactoryImpl40.`newClientXAConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` Returns an instance of com.pivotal.gemfirexd.internal.client.ClientXAConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, ClientBaseDataSource clientDataSource, String user, String password)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String ipaddr, int portNumber, ClientBaseDataSource dataSource, boolean isXAConn)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn)` returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection40
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)` Returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection.
`protected void` | NetConnection.`preAgentInitialize(String password, ClientBaseDataSource dataSource, Properties properties)`

Constructors in com.pivotal.gemfirexd.internal.client.net with parameters of type ClientBaseDataSource
Constructor and Description
`NetConnection(NetLogWriter netLogWriter, ClientBaseDataSource dataSource, String user, String password)`
`NetConnection(NetLogWriter netLogWriter, String ipaddr, int portNumber, ClientBaseDataSource dataSource, boolean isXAConn)`
`NetConnection(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn)`

`NetConnection(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)`
This constructor is called from the ClientPooledConnection object to enable the NetConnection to pass `this` on to the associated prepared statement object thus enabling the prepared statement object to inturn raise the statement events to the ClientPooledConnection object

`NetConnection40(NetLogWriter netLogWriter, ClientBaseDataSource dataSource, String user, String password)`
`NetConnection40(NetLogWriter netLogWriter, String ipaddr, int portNumber, ClientBaseDataSource dataSource, boolean isXAConn)`
`NetConnection40(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn)`
`NetConnection40(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)` The constructor for the NetConnection40 class which contains implementations of JDBC 4.0 specific methods in the java.sql.Connection interface.
`NetXAConnection(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)` The construcor for the NetXAConnection.

### Uses of ClientBaseDataSource in com.pivotal.gemfirexd.internal.jdbc

Subclasses of ClientBaseDataSource in com.pivotal.gemfirexd.internal.jdbc
Modifier and Type | Class and Description
--- | ---
`class` | `ClientConnectionPoolDataSource` ClientConnectionPoolDataSource is a factory for PooledConnection objects.
`class` | `ClientConnectionPoolDataSource40` ClientConnectionPoolDataSource40 is a factory for PooledConnection objects.
`class` | `ClientDataSource` ClientDataSource is a simple data source implementation that can be used for establishing connections in a non-pooling, non-distributed environment.
`class` | `ClientDataSource40` ClientDataSource40 is a simple data source implementation that can be used for establishing connections in a non-pooling, non-distributed environment.
`class` | `ClientXADataSource` This is Derby's network XADataSource for use with JDBC3.0 and JDBC2.0.
`class` | `ClientXADataSource40` This is Derby's network XADataSource for use with JDBC4.0.