-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
7.1.0.CR1
-
None
I've created tests for Hibernate Second Level Cache, at this moment they are failing, because Statistics don't give expected results (mostly hit and miss count).
In these tests 2LC, Query cache and Hibernate statistics are enabled, cache region has got correct name (putCount gives some numbers).
I'm not sure if there is a bug in my tests (but they looks good to me) or bug in Hibernate Statistics or in 2LC cache.
Tests are in my github repo,
- Hiberante 2LC Tests branch:
Test case: Hibernate2LCTestCase.java, which calls SFSB: SFSB2LC.java - JPA 2LC Tests branch:
Test case: JPA2LCTestCase.java, which calls SFSB: SFSB2LC.java