On Sunday 17 August 2003 21:41, Max Rydahl Andersen wrote: > how about just calling clear() on the session after each "cache less" > work you need ? >
Oh, by the way, there is no "clear()" method in Session interface as of Hibernate 2.0.2. Is it a recent (CVS) addition? Or you do mean to call s.evict(Object)? Last time I tried the last one, object won't be saved when s.flush() was called (no object in cache -> no sql generated).
Andrea
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel