摘要
分析了数据持久层缓存的基本原理、缓存的范围,总结出持久化层缓存的并发访问策略以及哪些数据适合放在什么缓存范围内。最后结合当前流行的Hibernate第二级缓存插件,设计各个插件缓存的配置策略以及插件的使用范围。
This paper presents the principle of cache based on object-relational mapping (ORM), analyses the range of persistent cache and summarizes the intereurrent access policies of persistent cache and the different cache ranges within different data should be put. According to the second cache component of Hibernate prevailing nowadys , it designs the configuration policies and the range of use of cache component.
出处
《上海电机学院学报》
2007年第3期210-212,216,共4页
Journal of Shanghai Dianji University
关键词
对象关系映射
缓存
并发访问
策略
object-relational mapping (ORM)
cache
intercurrent accessing
policy