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!
|