jodd-db/src/main/java/jodd/db/connection/ConnectionPoolDataSourceConnectionProvider.java
@Override
	public Connection getConnection() {
		PooledConnection pconn;
		try {
			pconn = cpds.getPooledConnection();
		} catch (SQLException sex) {
			throw new DbSqlException("Invalid pooled connection", sex);
		}
		try {
			return pconn.getConnection();
		} catch (SQLException sex) {
			throw new DbSqlException("Invalid pooled connection", sex);
		}
	}
@Override
	public Connection getConnection() {
		PooledConnection pconn;
		try {
			pconn = cpds.getPooledConnection();
		} catch (SQLException sex) {
			throw new DbSqlException("Invalid pooled connection", sex);
		}
		try {
			return pconn.getConnection();
		} catch (SQLException sex) {
			throw new DbSqlException("Invalid pooled connection", sex);
		}
	}
@ Override public Connection getConnection ( ) { PooledConnection pconn ; try { pconn = cpds . getPooledConnection ( ) ; } catch ( SQLException sex ) { throw new DbSqlException ( "Invalid pooled connection" , sex ) ; } try { return pconn . getConnection ( ) ; } catch ( SQLException sex ) { throw new DbSqlException ( "Invalid pooled connection" , sex ) ; } }
---------------------------------------------------------------- get/free
---------------------------------------------------------------- get / free