3 Replies Latest reply on Sep 10, 2005 9:11 PM by Shigeru Chiba

    Loading class from relaional storage

    ivang Newbie

      Hi,

      I have a this problem - a class is serialized and saved in a database a while ago. It is saved as byte[]. Now, this same class in the code branch has a different serialUID than the one serialized before. Also two more fields and methods were added to the new class. Can I use javaassist somehow to inject the changes into the obsolete class. Indeed, when I deploy my ear and try to read the class, the ObjectIntputStream throws Exception as the UID of the class in ear is differen from the one trying to deserialized.