[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-5545) Resolve query cache results not up to date testsuite failures

Galder Zamarreno (JIRA) noreply at atlassian.com
Thu Sep 9 04:06:18 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreno resolved HHH-5545.
-----------------------------------

    Resolution: Fixed

> Resolve query cache results not up to date testsuite failures
> -------------------------------------------------------------
>
>                 Key: HHH-5545
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5545
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: caching (L2)
>    Affects Versions: 3.5.5, 3.6.0.Beta4
>            Reporter: Galder Zamarreno
>            Assignee: Galder Zamarreno
>             Fix For: 3.5.6, 3.6.0.CR1
>
>
> BasicTransactionalTestCase.testQueryCache and testQueryCacheHitInSameTransaction are randomly giving failures due to persist and queries happening within 100ms, which the update timestamps considers the cache query results not to be up to date. Adding a small delay in between persist and query to get around this issue.
> The underlying problem of persist/query false misses has been discussed in a couple of previous occasions, see: http://lists.jboss.org/pipermail/hibernate-dev/2010-January/004744.html
> HHH-4551 and HHH-4577 are related to this.

-- 
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list