ORM cache error when secondary cache is enabled and autoManageSession/flushAtRequestEnd are false

Description

The following ORM settings...

...cause the following org.hibernate.cache.CacheException on OrmReload():

There is no workaround other than to disable the secondary cache, which has performance implications.

Previously raised against Railo by Simon Bingham https://issues.jboss.org/browse/RAILO-2233

Environment

None

Activity

Show:
Scott Stroz
February 26, 2018, 4:14 PM

I used a clean install of 5.2.5.20 - I did try upgrading but I was running into issues and uninstalling and reinstalling wound up being less time consuming.

I the version I am using for Hibernate extension is 3.5.5.70-SNAPSHOT - I used this because I was having another issue for which this snapshot was suggested.

Julian Halliwell
February 26, 2018, 4:26 PM

I'm using Hibenate extension 3.5.5.68. Perhaps this is a regression then.

Scott Stroz
February 26, 2018, 4:49 PM

I downgraded to 3.5.5.68 and I ran into my initial issue.

Wound up changing the cacheProvider to HashTable for ORM and that seems to have 'fixed' the issue.

Julian Halliwell
February 26, 2018, 4:52 PM

So it's definitely a regression with 3.5.5.70-SNAPSHOT? If so it probably needs a new ticket as this one's been closed as "fixed".

Samuel W. Knowlton
November 29, 2018, 5:29 PM

I've attached a test case (for a different ORM issue) where this one is also easily demonstrated in LDEV-2092 (just comment out the cacheProvider = 'hashtable')

Fixed

Assignee

Michael Offner

Reporter

Julian Halliwell

Priority

Critical

Labels

Fix versions

Sprint

None

Affects versions

Configure