my dog learned polymorphism
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
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
author & internet detective

Joined: May 26, 2003
Posts: 33130

Please continue discussion in JDBC as requested by the author.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: Query Result Caching
It's not a secret anymore!