Thanks On Oct 15, 6:53 am, Diego Mijelshon <[email protected]> wrote: > Because nested transactions are not supported. > > Diego > > On Thu, Oct 14, 2010 at 04:04, alexey_baranov <[email protected]> wrote: > > Hi! > > > This is simple test. Why this code not works? > > > using (var sess = > > SessionManager.OpenSingleThreadSession()) > > { > > using (var tx = sess.BeginTransaction()) > > { > > sess.Save(new Folder { Parent = sess.Load<Obj>(1), > > Name = "in tx1" }); > > > using (var tx2 = sess.BeginTransaction()) > > { > > sess.Save(new Folder { Parent = > > sess.Load<Obj>(1), Name = "in tx2" }); > > tx2.Commit(); > > } > > > tx.Commit(); > > } > > } > > Is it depends on underlying DBMS? > > > Thanks! > > > -- > > 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]<nhusers%[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.
