String qry = buildContextQuery();
if (qry == null)
return new EmptyRdbmsResourceIteration();
PreparedStatement stmt = conn.prepareStatement(qry);
try {
return new RdbmsResourceIteration(vf, stmt);
} catch (SQLException e) {
stmt.close();
throw e;
}
}