Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
13.10.7
-
None
-
Unknown
-
Description
It is doable, and some contrib extension do it already, but it has serious limitations:
- extension can force a reload of Hibernate, but it does not always work (and never in case of HSQLDB), so any install of the extension (or upgrade to a version impacting the mapping) usually require a restart
- if you manipulate any Hibernate API which return instance of the class defined in the mapping (like queries directly returning entities), any upgrade/uninstall of any extension on the same namespace require a restart (because of the classloader reload)
Attachments
Issue Links
- blocks
-
XWIKI-19933 Move the old event store to the attic
- Open
- depends on
-
XWIKI-19385 Hibernate store reload still does not work on HSQLDB
- Closed
- is duplicated by
-
XWIKI-8271 Add support for Platform Modules and more generally Extensions to provide new Hibernate mappings
- Closed
- is related to
-
XWIKI-19303 Make easier to inject hibernate mapping from an extension
- Open
- relates to
-
XWIKI-18877 Classcastexception when requesting database object from an upgraded extension
- Open