A Hibernate Session is a transaction-level cache of persistent data. We can configure a cluster or JVM-level (SessionFactory-level) cache on a class-by-class and collection-by-collection basis. We can also plug in a clustered cache into Hibernate. At the time of providing cache we need to understand that when we are updating the persistence DB it willContinue reading “The Second Level Cache in Hibernate : Settings and Configurations.”
Category Archives: hibernate Cache
List of Cache Providers in Hibernate and their Concurrency Support details
Here in this port you can find the list of Cache providers and their Concurrency support details. (Exerted from Official Hibernate Tutorial) EHCache (Easy Hibernate Cache) (org.hibernate.cache.EhCacheProvider) It is fast. lightweight. Easy-to-use. Supports read-only and read/write caching. Supports memory-based and disk-based caching. Does not support clustering. OSCache (Open Symphony Cache) (org.hibernate.cache.OSCacheProvider) It is a powerfulContinue reading “List of Cache Providers in Hibernate and their Concurrency Support details”