首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

Hibernate-一级缓存/二级缓存/查询缓存

2012-11-10 
Hibernate-------一级缓存/二级缓存/查询缓存例子:model:????? ??缓存策略提供商(Cache Providers)CachePr

Hibernate-------一级缓存/二级缓存/查询缓存

例子:

model:

?

?

?

?

?

?

?缓存策略提供商(Cache Providers)

CacheProvider classTypeCluster SafeQuery Cache SupportedHashtable (not intended for production use)org.hibernate.cache.HashtableCacheProvidermemory?yesEHCacheorg.hibernate.cache.EhCacheProvidermemory, disk?yesOSCacheorg.hibernate.cache.OSCacheProvidermemory, disk?yesSwarmCacheorg.hibernate.cache.SwarmCacheProviderclustered (ip multicast)yes (clustered invalidation)?JBoss Cache 1.xorg.hibernate.cache.TreeCacheProviderclustered (ip multicast), transactionalyes (replication)yes (clock sync req.)JBoss Cache 2org.hibernate.cache.jbc2.JBossCacheRegionFactoryclustered (ip multicast), transactionalyes (replication or invalidation)yes (clock sync req.)

热点排行