);
stmt = conn.prepareStatement(query);
rs = stmt.executeQuery();
rs.setFetchSize(SQLResult.FETCH_SIZE);
while (rs.next())
result.add(new Relationship(rs.getInt(FIELD_PARENT), rs.getInt(FIELD_CHILD)));
return result;
}
catch (SQLException e)
{
if (query != null)