• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Cache expiration after 3 days

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Weeds: because mother nature refuses to be your personal bitch. But this tiny ad is willing:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic