[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6680) 2L caching appears to ignore collections
Ben Hood (JIRA)
noreply at atlassian.com
Mon Sep 26 21:24:35 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43715#comment-43715 ]
Ben Hood commented on HHH-6680:
-------------------------------
Although the test is a functional test and hence would fail for 1 repetition, interestingly enough, on my machine, the caching seems to kick in at about 2350000-2400000 repetitions, as the stats printed to the console seem to level off at a certain value. This value appears to be non-deterministic, but is in a certain range on a particular machine.
> 2L caching appears to ignore collections
> ----------------------------------------
>
> Key: HHH-6680
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6680
> Project: Hibernate Core
> Issue Type: Bug
> Components: caching (L2)
> Affects Versions: 3.6.7
> Environment: 3.6.7 on Derby 10.8.1.2 and Oracle 11g
> Reporter: Ben Hood
>
> I have a scenario where a (read-mostly) mapped collection is eagerly loaded with the parent object, but when I retrieve the graph, the 2L cache appears to get ignored and the data is hydrated from the DB.
> I have created a test case to reproduce this issue as a runnable Maven project on Github : https://github.com/0x6e6562/hibernate_2L
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list