Add a way to return results as POJOs, similar to the way hibernate
generally returns entities, except (1) not lazy-loading proxies and (2)
only load the specified fields.
Maybe something like this:
Search s = new Search();
s.addField("firstName").addField("lastName").addField("age");
s.setResultMode(Search.POJO);
While we're at it how about an varargs addFields method:
s.addFields("firstName", "lastName", "age");
Original issue reported on code.google.com by dwolvert on 13 Jul 2009 at 3:45
Original issue reported on code.google.com by
dwolvert
on 13 Jul 2009 at 3:45