The search() method on GenericDAO returns List<T> so it cannot return lists
of Object[], List and Map<String, Object> types that are returned when
fetch mode is other than FETCH_ENTITY.
One possible solution is to add another method to GenericDAO for getting a
generic List back. Something like:
List searchWithFetchMode(Search search)"
Hopefully a better name can be found.
Original issue reported on code.google.com by dwolvert on 6 Aug 2008 at 2:57
Original issue reported on code.google.com by
dwolvert
on 6 Aug 2008 at 2:57