Force query execution without flush/commit

后端 未结 5 1101
太阳男子
太阳男子 2021-02-09 15:59

Hi i am using the transaction-per-request (session-in-view) pattern for an asp.net web application. I have a couple of points in the application where i want to Save an NHiberna

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-09 16:53

    Sounds like you want ´dirty read´ isolation level during your transaction. This will allow you to read ´uncommited´ but ´saved´ content. I´m however not fluent enough in NHibernate to give any insight on how to do it there.

    I´m sure someone else can hook in on how to do ´dirty read´ isolation level for NH.

提交回复
热议问题