This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Performance and the fly likes Query Result Caching Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Reply locked New topic

Query Result Caching

Raj Murthi

Joined: Aug 29, 2005
Posts: 14

I am facing an issue of query results caching.

I am firing a query from my application on database, i get the results;
then I explicitly delete data from database.
When I again fire the query from my application i get the same results.

If I fire query on some other table and again fire the 1st query.
Then in that case I get latest data from database.

How can I disable this results caching.

Thanks in advance.
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 30130

Please continue discussion in JDBC as requested by the author.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Query Result Caching
Similar Threads
Query Cacheing using EHCACHE
Particular server got memory issue
Tomcat 6 and catche problem
Trying to use cache in my servlets application.
Caching of Query Results