Description
XWikiHibernateBaseStore#execute should switch database if databases mismatch in context and hibernate session.
The problem is how to determine this mismatch.
This affects on recent Stores (*RecycleBin, Versioning, AttachmentVersioning) and new QueryManager.
This is not affect in v1.5 because stores used via main store which take care of database switch.
Attachments
Issue Links
- blocks
-
XWIKI-2602 Ability to run interwiki Queries in QueryManager
- Closed
- relates to
-
XWIKI-8172 Fail the query if we find a nested database query within a transaction that operates on a different database
- Closed