Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2603

Unable to access to different databases via one context in XWikiHibernateBaseStore#execute method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.6 M1
    • 1.5
    • Storage
    • None

    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

          Activity

            People

              amelentev Artem Melentev
              amelentev Artem Melentev
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: