Details
-
Bug
-
Resolution: Fixed
-
Critical
-
11.5-rc-1
-
Unknown
-
N/A
-
N/A
-
Description
Dynamic custom mapping (or anything else with the same need) needs to reload the hibernate setup to inject a new mapping.
Unfortunately, HibernateStore#build() which is supposed to do that does not work anymore. It's complaining that an old component of Hibernate is reused while being closed by the first part of the reload. This was probably lost by XWIKI-8286.
Dynamic custom mapping being disabled by default (and honestly never really used much) it was not noticed until now.
Attachments
Issue Links
- blocks
-
REPLICAT-51 Replication controller requires a restart when an extension is uninstall/upgraded on the same namespace
- Closed
-
XWIKI-19303 Make easier to inject hibernate mapping from an extension
- Open
- is duplicated by
-
XWIKI-12006 Dynamic Custom Mapping: mapping does not stay after the server is reset
- Closed
- is related to
-
XWIKI-8286 Upgrade to Hibernate 5.4.3
- Closed
- relates to
-
XWIKI-19127 Race condition at startup that can make Hibernate unusable
- Closed