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: Query cache?
PostPosted: Tue Sep 20, 2005 9:54 pm 
Newbie

Joined: Thu May 12, 2005 6:16 am
Posts: 4
Hi all,

I have a application suffering query cache problem.

My env:
Win2k pro
hibernate2
tomcat5.0
mysql4.1.9

When I changed the column's value via mysql client, but read the original data from hibernate, seems that hibernate cached the data. And I have changed hibernate.cache.use_query_cache to false.

So,,, which config parameter control this?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 10:51 pm 
Newbie

Joined: Thu May 12, 2005 6:16 am
Posts: 4
Code:
query.setCacheable(false);


Add this line into the program won't work, what's the matter?


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.