On 07/30/2015 09:36 AM, Radim Vansa wrote: > On 07/30/2015 03:27 PM, Scott Marlow wrote: >> >> >> On 07/30/2015 02:34 AM, Radim Vansa wrote: >>> I think that the failure is caused by HHH-7898 fix. The put is executed >>> only after the current transaction is finished (as synchronization), >>> until then the query is cached only for the current session and >>> therefore not reflected in statistics. >> >> Aren't the statistics at the SF level? > > Hmm, you're right. Could you send me a trace log for this test to check > what's happening, rather than guess?
Easily done. I'll enable TRACE logging for org.hibernate + org.infinispan unless you want a little less? I'll also include org.jboss.as.jpa TRACE logging so we have logging of each EntityManager invocation. May as well include JTA trace also, so we know when the TX starts/ends. > > Radim > >> >>> >>> Radim >>> >>> On 07/29/2015 09:02 PM, Scott Marlow wrote: >>>> I missed a WildFly second level query cache failure yesterday in my >>>> testing http://pastebin.com/kg3YhxxL >>>> >>>> Test steps: >>>> >>>> - creates an entity >>>> >>>> - queries for the entity >>>> >>>> - verify that the query cache hit count is zero. >>>> >>>> - query again for the entity >>>> >>>> - verify that the query cache hit count is one (this fails as the >>>> query cache hit count is still zero) >>>> >>>> The failing test code is at >>>> https://github.com/wildfly/wildfly/blob/master/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jpa/secondlevelcache/SFSB2LC.java#L255 >>>> >>>> >>>> And is called from >>>> https://github.com/wildfly/wildfly/blob/master/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jpa/secondlevelcache/JPA2LCTestCase.java#L229 >>>> >>>> >>>> This hurts my WF10 upgrade to ORM 5.0.0.CR3 >>>> https://github.com/wildfly/wildfly/pull/7842 >>>> >>>> On 07/29/2015 11:37 AM, Steve Ebersole wrote: >>>>> The release is done minus announcing and SF upload. Also I decided >>>>> to not >>>>> upload the docs yet since they are still incomplete and i still >>>>> have work >>>>> to do there prior to Final. >>>>> >>>>> >>>>> On Wed, Jul 29, 2015 at 10:06 AM Steve Ebersole >>>>> <st...@hibernate.org> wrote: >>>>> >>>>>> per $subject >>>>>> >>>>> _______________________________________________ >>>>> hibernate-dev mailing list >>>>> hibernate-dev@lists.jboss.org >>>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev >>>>> >>>> _______________________________________________ >>>> hibernate-dev mailing list >>>> hibernate-dev@lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev >>> >>> > > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev