I am new to NHibernate. I am curious to know if two processes on different machines pull up the same record at the same time. Both of them modify the record and one of them submits the record before the other. Will the second process roll back the transaction and throw an error message that the record has already been updated?
No, not by default. However, using <version>
mapping will help you with this.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.