• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Cache expiration after 3 days  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I need to Cache records while saving to database. In current application Hibernate 3 is used.

1. Is it possible to Cache only few Columns of Entity, instead of all columns; reason is few columns are blobs and not needed in cache.
2. Is it possible to set expiration of Entity after few days, I meant, if need to set expiration after 3 days, record can be auto removed from cache?

I have started looking into cache process (tutorials) but not sure if above 2 needs can be fulfilled.

I would highly appreciate if someone can share if above are possible, then I would continue to explore on this process.

Thanks.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!