HQL update/delete does not invalidate the query cache

Description

Update/delete queries performed via HQL do not invalidate the query cache. For example, a 'delete from Item' does not invalidate a 'select count from Item' query performed earlier. The attached test case can be added to QueryCacheTest (in the testsuite) to demonstrate the problem.

Environment

None

Activity

Show:
Steve Ebersole
March 22, 2011, 6:08 AM

Bulk closing stale resolved issues

Fixed

Assignee

Steve Ebersole

Reporter

Emond Papegaaij

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major