[JBoss-user] [Javassist user questions] - Re: Loading class from relaional storage

2005-09-10 Thread chiba
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. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893992#3893992 Reply to the post : htt

[JBoss-user] [Javassist user questions] - Re: Loading class from relaional storage

2005-09-10 Thread 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 ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893914#3893914 Reply

[JBoss-user] [Javassist user questions] - Re: Loading class from relaional storage

2005-09-10 Thread chiba
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? View the original post :