]
Steve Ebersole closed HHH-2892.
-------------------------------
Resolution: Fixed
trunk / 3.2
skip up-to-date checks of query cache for natural-id only if
immutable
----------------------------------------------------------------------
Key: HHH-2892
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2892
Project: Hibernate3
Issue Type: Bug
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Fix For: 3.2.6, 3.3
Currently we skip the up-to-date checks for query cache entries when the query is a
natural-id lookup. The reason being to avoid the database hit due to the (potential)
invalidation caused by changes to the entity. However, that is not correct behavior if
the mutable natural key itself changed. This skipping should be limited to the case of
immutable natural ids.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: