This content has been marked as final.
Show 3 replies
-
1. Re: Loading class from relaional storage
chiba Sep 10, 2005 10:04 AM (in response to ivang)I don't think you can read an old serialized data in any way
if you add a new field to that class. What do you
mean by "inject the changes into the obsolete class"?
Do you want to convert a serialized data in the database
to be compatible with a new version of the class? -
2. Re: Loading class from relaional storage
ivang Sep 10, 2005 1:39 PM (in response to ivang)Yes, i was hoping to get the byte[], change the SerialUID value, add the new fields and methods, serialize back update the row in the database. Perhaps javaassist is not the way to go here ?
-
3. Re: Loading class from relaional storage
chiba Sep 10, 2005 9:11 PM (in response to ivang)Unfortunately, Javassist is not a toolkit for editing
serialized data. It might be a good idea that Javassist
supports that editing but currently Javassist does not.
Sorry.