• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

Hibernate Read-Only Cache Query

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I'm a new bie to hibernate caching. I need youe help in understanding the cache expiration criteria.

In my application i have lot of configurational data's (read only data and updated very rarely) in a table and i would like to use "Read-only" caching strategy to cache the configurational data's.

I read about an article of hibernate caching and it mainly talked about the types of caching strategies like Read-only, Read-Write, Transaction etc., like when to use what.

What i like to know here is the cache expiration criteria's for each caching strategies ?
Where to configure the cache expiration criteria's for different cache providers like ehcache, oscache etc?

Can you please point me to any article which can explain this.

Regards,
Ragavendran.
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unfortunately, the configuration of all that is vendor specific. Each caching product does it a little bit differently. ehcache is done in the ehcache.xml file for defining your cache regions. I recommend reading the cache vendor product's documentation that you choose. That would be the easiest to me.

Good Luck

Mark
 
reply
    Bookmark Topic Watch Topic
  • New Topic