[hibernate-dev] started release

Radim Vansa rvansa at redhat.com
Thu Jul 30 02:34:38 EDT 2015


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.

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 <steve at hibernate.org> wrote:
>>
>>> per $subject
>>>
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev


-- 
Radim Vansa <rvansa at redhat.com>
JBoss Performance Team



More information about the hibernate-dev mailing list