return getStatement(defaultPoolName);
}
public Statement getStatement(String poolName) throws Exception {
if (poolName == null || poolName.equals(""))
throw new PoolNotFoundException("Can't get the pool. No pool name specified");
Connection conn = getConnection(poolName);
return getStatement(conn);
}