Because it is common to have multiple transactions within a session, depending on the type of host you are using.
John Davidson On Wed, Jul 13, 2011 at 4:35 PM, Ramon Smits <[email protected]> wrote: > Yes, transactions are mandatory for _ALL_ reads and writes using >> NHibernate. > > > If that is the case.. then why do we have to create a session and a > transaction when you always need to do both? > > -- > Ramon > > -- > 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. > -- 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.
