This is a DbConnectionBroker based implementation of IConnectionFactory.
DbConnectionBroker is a fairly proven and stable implemenation for database connection pooling.
It requires 'dbConnectionBroker.jar' in the classpath.
author: GautamJ
Creates a connection using DbConnectionBroker.
throws: SQLException - if any SQL error occurs throws: IOException - if any IO error occurs a Connection
Returns the connection back to the pool.
Parameters: connection - The connection to return back to the pool. throws: SQLException - if any SQL error occurs throws: IOException - if any IO error occurs
Setter for property user.
Parameters: user - New value of property user.
usePreparedStatementCaching
public boolean usePreparedStatementCaching()(Code)
Returns a true if the Prepared (and Call) Statements are to be cached for a connection.
This will return a true.
a true if the Prepared (and Call) Statements are to be cached for a connection.