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.
如果我更新父子关系中的孩子,则孩子会在 L2 缓存中更新。但是父母呢?是否可以在不访问数据库的情况下做到这一点?
谢谢!
L2 实体缓存在相应实体更新并提交相应事务时更新。关系无所谓。