[ http://jira.andromda.org/browse/HIB-137?page=comments#action_12154 ] Walter Itamar Mourão commented on HIB-137: ------------------------------------------
Definitely using the Iterator as a return type is a better idea! > finder methods returning Iterator > --------------------------------- > > Key: HIB-137 > URL: http://jira.andromda.org/browse/HIB-137 > Project: Hibernate Cartridge > Type: Improvement > Versions: 3.1-RC1 > Reporter: Walter Itamar Mourão > Assignee: Carlos Cuenca > Priority: Minor > > Since Query.iterator() returns a "on demand" iterator I suggest the creation > of a namespace property and a tagged value to create finder methods returning > an Iterator instead of a List. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl