]
Tristan Tarrant updated ISPN-9677:
----------------------------------
Fix Version/s: 9.4.7.Final
(was: 9.4.6.Final)
Non-transactional queries don't update the query cache
------------------------------------------------------
Key: ISPN-9677
URL:
https://issues.jboss.org/browse/ISPN-9677
Project: Infinispan
Issue Type: Bug
Components: Hibernate Cache
Affects Versions: 9.4.1.Final
Reporter: Galder ZamarreƱo
Assignee: Galder ZamarreƱo
Priority: Major
Fix For: 10.0.0.Alpha1, 9.4.7.Final
This is affecting the Hibernate second-level cache simple tutorials where queries are
executed outside transactions.
The problem is that the new integration for the query results (result of ISPN-9075) does
not verify if there's an on-going transaction before registering a transaction
completed synchronization where the query cache is updated.
As a result, when a non-transactional query happens, the transaction synchronization
callback does not happen and the query cache is not updated.