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 in
sorry i missed the comment.
In Lucee 5 hibernate is no longer part of the core, it was moved to an extension, as you can see in the ticket it was fixed in Hibernate 220.127.116.11.
Latest release of the hibernate extension is 18.104.22.168 and latest snapshot is 22.214.171.124.
This versions are also bundled with the latest release and snapshot. In the server admin under extension you can see what version you have bundled and you can update if necessary.
We are using 126.96.36.199 when this error is occurring.
I've added test case for this ticket & confirmed the issue happened on Hibernate 188.8.131.52-SNAPSHOT & 184.108.40.206-SNAPSHOT versions.
Issues is reproduced only when we use this.ormsettings.cacheconfig = "ehcache.xml", While two application use same ehcache issue is reproduced once again.
If we doesn't use this.ormsettings.cacheconfig = "ehcache.xml" in application.cfc two or more application use the same ehcache without any issues
Pull Request : https://github.com/lucee/Lucee/pull/510
We are not defining the cacheconfig in the ormsettings, we are just using whatever Lucee (or Hibernate) generates.
In this case: ta_3E15565AB9FF39E2B40EBAFD3DF355F6.xml
I couldn't able to reproduce without the cache config. Can you please test with above zip file. Or post your application here if you can.