1 Reply Latest reply on Apr 27, 2004 9:33 AM by dave2

    Serialized Object in Database

    jeff_inns

      I'm using JBoss 3.2RC1, CMP 2.0 Entity beans to persist an Entity EJB that has an attribute which gets serialized into the database. This is the behavior I desire. However, what is undersired is the inclusion of JBoss information with the serialized class(org.jboss.invocation.MarshalledValue) - I think this might be a proxy to the class but I'm not sure. Is there a way to have the container serialize the class only without the JBoss specific information? I'm under the impression there is a way around this because of what I've read in other posts:
      http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=forums/ above link says that wrapping the serialized class in org.jboss.invocation.MarshalledValue is the default behavior of the container. Is there a non-default behavior that I can configure?

        • 1. Re: Serialized Object in Database
          dave2

          Hi Jeff

          Did you manage to get a fix for this ?
          I've got a similar problem in that my data (a jpg or gif image) is being serialized into a bytea type on Postgres (7.4) and I wish it to store the raw data rather than a serialized object.
          Regards
          Dave