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

StaleStateException/OptimisticLockException doesn't cause infinispan 2nd level cache to invalidate

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 9.3.0.Final
    • Hibernate Cache
    • None

    Description

      Migrated from HHH-12207

      If the hibernate 2nd level cache has a versioned entity which is less than the version in db, it will throw StaleDataException (expected), but at that point I expect hibernate to invalidate the cache so the next find will go to db to find correct version of entity. On our production, once hibernate has an old value, it just keeps throwing the exception until we manually clear the cache. EhCache seems to invalidate the cache as I would expect.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: