From: Chris N. <ch...@si...> - 2003-01-24 19:13:19
|
On Fri, Jan 24, 2003 at 10:30:08AM -0800, Chris Nokleberg wrote: > So, how about > query.setTransient(true)? > > All objects returned by the query would be transient and not take up > space in the cache. Before I forget, if you have setTransient you could also have query.setReuseInstances(true); When using iterate() Hibernate could reuse the same Cat for each call to next(). I imagine this could speed up processing quite a bit, especially if bean reflection could be avoided. -Chris |