we are using Spring.net 1.3 with NHibernate 2.1 version.

we have decided to use TxScopePlatformTransactionManager as our TransactionManager as we need Distributed Transactions.

We have a WCF service and we open the NHibernate Session when the request comes in and close the session when the request completes. ( This is done in the WCF service messageinspectors(AfterRecieveRequest and BeforeSendReply)

we are using Declarative Transaction Management.

The transaction gets started after the nHibernate session is created. NHibernate Session is unaware of this transaction as it is opened before the transaction is started.

My question is How to make nHibernate session aware of the Transaction that is started after the NHibernate session is opened?