Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-2201 Upgrade to Hibernate 3.3
  3. LDEV-2202

Write a filter for XML files exported using old Hibernate version

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4
    • Component/s: Author
    • Labels:
      None

      Description

      While exporting Learning Designs, an XML file with serialized Activity classes is created. This includes Hibernate Collections. For example Q&A contains Questions, which are stored as Hibernate Collection elements.
      After upgrading to a new Hibernate version these XML files become unreadable as Collection classes are different. They can not be deserialized anymore. We need to write a filter that will convert the previously created XML files into readable versions for new Hibernate. This will most probably involve extracting important data from a XML file and feeding it to a new XML structure, which is compatible with the new Hibernate version.

      Another approach which involves usage of old Hibernate classes for importing is also considered.

        Activity

          People

          • Assignee:
            marcin Marcin Cieslak
            Reporter:
            marcin Marcin Cieslak
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development