Add hitCache() to Query Interface
---------------------------------
Key: HHH-6166
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6166
Project: Hibernate Core
Issue Type: New Feature
Components: caching (L2), core
Affects Versions: 3.6.1
Environment: Hibernate 3.6.1_FINAL
Reporter: David
Priority: Minor
"Wish List" Item.
It would be nifty if the Query API had a method hitCache() that simply returns a boolean
(or throws an exception).
If a query was executed (list(), iterate()) and the query hit the second-level query
cache, hitCache() would return true, false otherwise. Throw an exception if the query
hasn't been executed yet.
Thanks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira