Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在一篇标题为“不鼓励使用隐式事务”的帖子中,该帖子指出“放弃使用显式事务具有考虑二级缓存的效果......原因是在我们提交事务之前,Hibernate不会使用已加载实体的值更新缓存。”
我找不到任何确认此声明的参考资料。也许我不是在寻找正确的术语。这个说法是真的吗?不要隐式事务仍然执行提交,如果是这样,为什么不更新缓存?