-->
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: No way to make session cache disable ?
PostPosted: Wed Sep 14, 2005 5:30 am 
Newbie

Joined: Wed Sep 14, 2005 5:12 am
Posts: 1
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hi, all.

I just wondered that there is no way to make session cache disable ?

In some cases, it can cause a little trouble whenever all sessions cache all list of objects, although using the session.clear() after every invocation of searching a lot of list.

I guess that the disable of session's cache is possible. But, i don't know how.(is it only in my head? ^^;;)

Dose "session.setCacheMode()" also work for session ?
I found that mothod in session API, but I'm not sure it'll work, and can't verify.

I'm looking forward to reply this.
Have a great day~


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 14, 2005 5:36 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
use StatelessSession in HB 3.1


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.