3.5.1 getConnection()

This method is called whenever a new connection is needed by the query engine. The pool should return the next available connection. If there are no more connections in the pool, this method should block until a connection is made available. The method syntax is shown below:

getConnection(XDataSource xds, Principal user);

The parameter 'xds' denotes the JDBC data source. Parameter 'user' is a Principal object that identifies the user for whom the connection is being retrieved.

<< 3.5 Pooling Database Connections Programmatically © 1996-2013 InetSoft Technology Corporation (v11.5) 3.5.2 releaseConnection() >>