posted 7 years ago
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.