On 21 Aug (18:13), Prasad Iyer wrote: > 1. transaction.commit(); > 2. Session.flush(); > 3. Session.save(); > 4. Session.close(); > > I don't understand the order between this lines > well ofcourse the 4th line would be last. > thanks > regards > prasad chandrasekaran
See reference documentation, "Ending a Session". Session.save() is a call that is not related to the others though. Transaction.commit() does a Session.flush(). -- Christian Bauer [EMAIL PROTECTED] ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel