2009/1/10 Sal <[email protected]> > > I thought those were specifically about implementing session-per- > business transaction. I was more asking that if you were already using > session-per-request and needed session-per-conversation for just one > case, could you do it without completely changing your existing > session management.
For that reason it is very important to have a ICurrentSessionContext implementation in your session-handling implementation. If and when all implementor of such kind of session-handling are implementing ICurrentSessionContext your DAOs/Repository are really free from the nh-session-management. There are some FW where what you are injecting is the ISession instead the ISessionFactory. The problem there is that you must forget the use of StateLessSession, open a new and separated session and all other feature accessible only using the ISessionFactory. -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
