I want to do all of the following in a single nuclear transaction: Read through ActiveRecord One object from Save a new object via ActiveRecord Update another table through NHibernate In addition, if I By ending the transaction, the value of the item I read in step 1 has changed, I would like to overturn the transaction. I have never used the transaction in AR or NAH, so please provide more details as you can. How do transaction mechanisms play together? Well, the castle activate depends on the NHibernate, the truth is, a castle activist transaction class is found on NHibernate Is not the same; But you should think of ActiveRecord as a wrapper on one of the NIHBennet. So there is no need to "play together". Because, in depth, they are the same. Another important concept is "session". A "session" is a unit of work, a "window" that tells NHibernate what you want to do: questions, updates, and so on. Again, there is also a N...