-->
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: caching empty results
PostPosted: Thu Aug 26, 2004 10:37 am 
Beginner
Beginner

Joined: Tue Aug 17, 2004 11:27 pm
Posts: 24
My application is mainly content based with no writes to the database from the runtime application. Because of this we use a high level of caching through hibernate. In fact, the project requirements state that if the database is unavailable, the application should still run. The caches use ehcache and are set to live forever. Theoretically if all the pages are hit, all of the necessary objects should live in the cache. The only issue we are running into is that a few requests return empty results. These empty results are valid, but the way caching works, the query will always check the database.

Is there a way to tell hibernate to cache empty results?

thanks.

Karl


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 26, 2004 10:41 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Not yet, but add it to JIRA, I think there are some reasons why this makes sense.


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.