Now let us discuss the issue with the query optimization for the objects which are configured for second level cache.
现在我们来谈谈关于二级缓存的查询优化问题。
If a distributed cache is desired, we recommend using one of the WebSphere-provided distributed cache implementations. These can be used as a second level cache with hibernate.
如果需要分布式缓存,我们建议使用WebSphere提供的分布式缓存实现之一。
If we try to eager fetch the department entity then for every fetch of same department the database is hit for department information even though it is available in our second level cache.
如果对department实体采取预先抓取,那么对于同样的department实例,纵使它位于二级缓存中,每次也都需要查询数据库。
All models have 8 (2x4) MB cache in the second level and system bus OF FSB 1066 MHz.
所有型号有8 (2x4)M B缓存在第二级和系统总线的财经事务局1066兆赫。
All models have 8 (2x4) MB cache in the second level and system bus OF FSB 1066 MHz.
所有型号有8 (2x4)M B缓存在第二级和系统总线的财经事务局1066兆赫。
应用推荐