`
semi_sleep
  • 浏览: 99403 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

Note for hibernate 2009.1.20 - 2009.1.21

阅读更多

1.Three types of second level cache: class, collection, query. (class cache does not cache association, so we need collection cache)

 

2.Four cache modes

 

3.How different operation use and affect cache?

 

4.How update to table (through hibernate or plain jdbc) affect cache?

 

5.How to use second level cache in cluster?

 

6.In order to synchronize cache (may be also for cascade delete?), hibernate have to select all ids and delete them one by one?

 

7.Third party caches

EHCache (org.hibernate.cache.EhCacheProvider)

OSCache (org.hibernate.cache.OSCacheProvider)

SwarmCache (org.hibernate.cache.SwarmCacheProvider)

JBoss TreeCache (org.hibernate.cache.TreeCacheProvider)

 

8.First level cache

 

 

 

 

Speed Up Your Hibernate Applications with Second-Level Caching 

数据操作基础Save persist saveOrUpdate update merge lock

hibernate二级缓存攻略

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics