That makes sense.  I'll put a patch together in the interim.  If I can help out 
with the TX provider in any way let me know; I'd be more than willing to 
dedicate some time.

As to what I am trying to do:  I'm using NServiceBus, which as you know 
automatically surrounds the call to receive a message in a TransactionScope.  
Because the db driver (Npgsql) has incomplete support for TransactionScopes I'm 
getting lots of errors from within NH when the scope completes.  So, as a 
stop-gap solution I would like to disable the enlistment for the driver and NH, 
and then surround all message handling in a normal db transaction.  Not a 
perfect solution, I admit, but the only one available to me with the driver I'm 
using.

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of 
Ayende Rahien
Sent: Monday, February 16, 2009 5:23 PM
To: [email protected]
Subject: [nhusers] Re: TransactionScope and dbs without Sys.Transactions support

There is not way of doing that, and a patch would be welcome.
Although, at this point, I would say that we DO need the TX provider that Fabio 
& I discussed recently.
If we want to add more TX behaviors, we want to do it in a disciplined fashion.

May I ask what you are trying to do that you want to separate the two?
On Tue, Feb 17, 2009 at 1:35 AM, Tyler Burd 
<[email protected]<mailto:[email protected]>> wrote:

I'm using the NH trunk; this includes changes by Ayende to implement full 
System.Transactions support.  Unfortunately, I'm working with a driver that 
seems to have very unstable support for System.Transactions (Npgsql 2.02).  
Because of this, I would like NHibernate to NOT enlist in an ambient 
TransactionScope, but there doesn't seem to be any way to configure that.  Am I 
missing something, or should I go ahead and create a patch for this?



Thanks!

Tyler Burd





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to