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].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.