Joined: Fri Aug 02, 2013 8:03 am Posts: 3
|
I have a few requirements which i have achieved by writing indiviual code for all components, Need to check if the same can be done via Hibernate.
1) In case of caching can we have a interval parameter set say 5 mins i.e if the data is updated in DB the application will retrieve the updated data only after 5 mins
2) When the DB is down and if the data is in cache it should be fetched from there and the application should still work.
Are both the above things possible via some configurations in hibernate or need to write custom code and then integrate with hibernate.
Any help is much appreciated.
Rgds/Binny
|
|