-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate - Caching
PostPosted: Fri Aug 02, 2013 10:15 am 
Newbie

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.