} else {
pc = _cpds.getPooledConnection(_username, _password);
}
// should we add this object as a listener or the pool.
// consider the validateObject method in decision
pc.addConnectionEventListener(this);
obj = new PooledConnectionAndInfo(pc, _username, _password);
pcMap.put(pc, obj);
} catch (SQLException e) {
throw new RuntimeException(e.getMessage());
}