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

Hide collection-type attribute in hibernate mapping files.

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.4-rc-1
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      A customized collection type had to be added to the hibernate mapping for the class DBStringListProperty for fixing the dirty bit propagation (XWIKI-8398 and XWIKI-8464). But we support users customizing their hibernate mappings, so it is a problem that users may need to update their mapping files.

      In order to avoid this, we can instead silently decorate the hibernate configuration with the content-type attribute.

        Attachments

          Activity

            People

            • Assignee:
              aj Andreas Jonsson
              Reporter:
              aj Andreas Jonsson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: