[Opensymphony-oscache] Bug in OSCache + Hibernate Query Cache?

dres <[email protected]> Fri, 29 Jul 2005 10:44:35 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <11445825.1122651905433.JavaMail.os-j2ee@opensymphony01.contegix.com>
From your explanation, this all seems to do as intended.  Not sure how helpful that is.  OSCache does know about the relationship between the query cache and individual rows.  I am unclear though on the question if hibernate is forcing a flush on the query at the appropriate times.  If so, then you would see braodcast events for the query key being flushed not just for the individual objects.  If hibernate does not flush the queries then you will have to.  

I believe that the query cache has other issues in a cluster as well.  There is no clustered cache that I know of that handles the transaction concerns except for Tangosol*Coherence.  We generally turn off caching of queries because we use oracle stored procs and they're fast enough.  Caching the individual rows is where we get the most benefit.

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=4670&messageID=11678#11678