-->
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.  [ 3 posts ] 
Author Message
 Post subject: Hibernate for web pages
PostPosted: Sun Oct 14, 2007 2:57 am 
Newbie

Joined: Sat Oct 13, 2007 5:38 pm
Posts: 3
Hibernate 3.2:
Hi,

I need to cache the information coming from DB per application (time limit) and not per sessions.
In all the examples, all I saw was that the queries are cashed per session,
and I need it for an internet website - where all the users need the same results and I would like to have it cached per time.
Do you have an example or way how to do it?

Thank you


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 16, 2007 4:53 pm 
Beginner
Beginner

Joined: Fri Jun 25, 2004 11:47 am
Posts: 34
hi,

Try to use the second level cache.

rgds


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 17, 2007 3:20 am 
Newbie

Joined: Sat Oct 13, 2007 5:38 pm
Posts: 3
What is the second level cache?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.