session-per-request mean: request, nh-session and nh-transaction has the same lifecycle. https://www.hibernate.org/42.html
2009/10/30 kor <[email protected]> > > that is the main purpose but is not unique. > > about the transaction management i don't think that nh-core contains > all (yes, i can do all only with tath but with more code and > complexity), for example in same place (call it 'service layer', > 'controller', etc) i need to wrap every groups of relate operations in > a transaction and it's more easy to manage that with a > 'TransactionRequiredAttribute' without write by myself the code to > manage every case (for example a transaction is already open(maybe > only readonly) ) > > > -- 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 -~----------~----~----~----~------~----~------~--~---
