DBConnection dbCon)
throws Exception
{
Connection connection = dbCon.getConnection();
QueryDataSet qds = null;
Vector results = new Vector();
try
{
// execute the query
qds = new QueryDataSet( connection, queryString );
results = getSelectResults( qds, start, numberOfResults,
singleRecord);
}
finally
{
if (qds != null) qds.close();
}
return results;
}