|
|
1
12
它是 normal 和 default behavior :
从 NHibernate's automatic (dirty checking) update behaviour :
|
|
|
2
2
当会话的FlushMode为Auto或Commit时,这是默认行为。 在这些情况下,调用transaction.commit()将刷新会话并更新所有持久对象 因此,如果删除calls会话。更新它不会有任何区别。
对。使用FlushMode。尽可能不要或推迟提交会话。我想你不需要用Evict来处理这个案子 |
|
|
Nico Pizzo · 子查询上的nhibernate联接 8 年前 |
|
|
YMC · 无法在Nhb 4中构建只有特定字段可供选择的2个表联接 8 年前 |
|
|
Stu · 具有特定类型的字符串外键的NHibernate映射 8 年前 |
|
|
Zout · 为Hibernate的HiLo算法管理的列生成ID 8 年前 |