Details
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.
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.
Problems with importing old Learnind Designs was observed on JBoss 4.0.2 and Hibernate 3.2.0.
Now, on JBoss 5.1 and Hibernate 3.3.1 none of them occured.
Xstream library was not updated, although newer version probably contains a fix for this issue:
http://jira.codehaus.org/browse/XSTR-226
So it seems that either Hibernate distribution or JBoss 5 contain fixes that allows proper deserialization.
I any similar issues are found, this JIRA will be reopened.