-->
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.  [ 2 posts ] 
Author Message
 Post subject: Read data from cache when DB is down?
PostPosted: Fri Aug 12, 2011 9:34 am 
Newbie

Joined: Fri Aug 12, 2011 9:30 am
Posts: 2
Hi,

I am using Spring and Hibernate with EhCache. I need to be able to access data from the database even if the database goes down. I hoped that I could use second level caching to achieve this. That is, read the data to display into cache. And if the DB goes down, then use this data. All data is read only, and do not change in DB. Do Hibernate/EhCache offer the possiblity of doing something like this, or must I create my own caching mechanism?

Thanks...


Top
 Profile  
 
 Post subject: Re: Read data from cache when DB is down?
PostPosted: Sun Aug 14, 2011 2:29 pm 
Newbie

Joined: Fri Aug 12, 2011 9:30 am
Posts: 2
Can somebody please help me with this


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

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.