On Nov 20, 2007 9:32 AM, lasitha <[EMAIL PROTECTED]> wrote: > ... In previous versions of hibernate, just > closing a session automatically triggered a flush.
A follow up for anyone keeping score: i've just verified that hibernate does _not_ automatically flush a Session when it is closed. If anyone is interested i can pass along my learning test. Unfortunately, this isn't all that helpful in the context of unexpected saves because in the default automatic flush mode, even a simple query could trigger a flush. If only i realized that _before_ spending time testing whether a close triggers a flush! Cheers, lasitha. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]