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 ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel