-->
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.  [ 1 post ] 
Author Message
 Post subject: how to force hibernate to read db every time to get lastest
PostPosted: Mon Dec 18, 2006 3:05 am 
Newbie

Joined: Mon Dec 18, 2006 2:54 am
Posts: 1
hi all,
I use hibernate 3.2 and db2 v8. I met a problem: I use hibernate to query records and there is another process also using the same db. sometimes I found that the other process changed db record, hibernate still give me the old data. it seems hibernate didn't read db, maybe read the memory.
I don't use the second cache or query cache, hibernate.cache.use_query_cache=false.
how can I force hibernate to read db every time to get lastest data?

Kent


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

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.