> What guarantees does Maverick make about when / wether discard() will be > called? Is it *guaranteed* to be called in the case of an exception, etc?
I checked this today, and found out that it gives tou no guarantees, until I posted a patch. > -----Original Message----- > From: Aapo Laakkonen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 04, 2002 5:02 AM > To: [EMAIL PROTECTED] > Subject: [Mav-user] FW: ModelLifeTime / discard() not guaranteed > > I think that Maverick should guarantee that discard() method of > ModelLifetime implementing classes get's called whatever happens > during rendering view or executing command. > > Here is my modifications to CommandBase class go() method: > > ... Good idea. Now checked into CVS. Jeff ------------------------------------------------------- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel