https://bugzilla.novell.com/show_bug.cgi?id=333746#c2


Zoltan Varga <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |[EMAIL 
PROTECTED]
             Status|NEW                                             |RESOLVED
         Resolution|                                                |INVALID




--- Comment #2 from Zoltan Varga <[EMAIL PROTECTED]>  2007-10-16 13:58:14 MST 
---

If Dispose() throws an exception, then AfterTransactionCompletion() is called
twice, the first call sets session to null. No idea why Dispose () throws an 
exception in this case. Try reporting this to the NHibernate developers.

                        try
                        {
                                trans.Commit();
                                committed = true;
                                AfterTransactionCompletion(true);
                                Dispose();
                        }
                        catch (HibernateException e)
                        {
                                log.Error("Commit failed", e);
                                AfterTransactionCompletion(false);
                                commitFailed = true;
                                // Don't wrap HibernateExceptions
                                throw;
                        }


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to