I am writing objects to BLOB filelds using CMP ejbs but when I read blob Instead of getting my Object i am getting object of class org.jboss.invocation.MarshalledValue. I dont want to cast the object to MarshalledValue. 1.How can I get object written to BLOB without casting to MarshalledValue 2. How to stop Jboss from writing Object in BLOB as MarshalledValue. I do not want to change the existing code.
I want a way that will work for most of the popular Application servers