Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10323

Non-transactional queries don't update the query cache

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 9.3.7.Final
    • 9.3.6.Final
    • Hibernate Cache
    • None

    Description

      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.

      Fix exists in 9.4.x/master and just needs backporting to 9.3.x.

      Attachments

        Issue Links

          Activity

            People

              rh-ee-galder Galder ZamarreƱo
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: