Galder Zamarreño created ISPN-9368:
--------------------------------------
Summary: StaleStateException/OptimisticLockException doesn't cause
infinispan 2nd level cache to invalidate
Key: ISPN-9368
URL:
https://issues.jboss.org/browse/ISPN-9368
Project: Infinispan
Issue Type: Bug
Components: Hibernate Cache
Affects Versions: 9.3.0.Final
Reporter: Galder Zamarreño
Migrated from
https://hibernate.atlassian.net/browse/HHH-12207
{quote}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.{quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)