-->
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: very strange behavior from the query cache
PostPosted: Fri Sep 24, 2010 5:10 am 
Newbie

Joined: Wed Sep 22, 2010 12:01 pm
Posts: 7
hi all,

I have a very strange problem with the query cache!

When i start my application, everything is fine the query cache works as expected : when i execute a criteria request, the query is put into cache and so are the returned objects (even the fetch objects).

But if I clear my caches, my problems start :

if I execute a new query (criteria or HQL), my objects are returned correctly, but the second time the fetch objects are not retrieved and so Hibernate generates many loads to access the attributes of my objects, a real waste of time :/

thanks!


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.