On Nov 22, 2007 9:02 AM, lasitha <[EMAIL PROTECTED]> wrote:

> Hmm, i must've missed where this was documented.  The api certainly
> doesn't mention anything about flushing on close, but i was
> uncomfortable assuming this, particularly since earlier versions of
> hibernate _did_ flush on close, if i recall.

"Force this session to flush. Must be called at the end of a unit of
work, before commiting the transaction and closing the session
(depending on flush-mode, Transaction.commit() calls this method)."

Taken from Session.flush() API from http://www.hibernate.org/hib_docs/v3/api/

Regards
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to