[jboss-jira] [JBoss JIRA] Commented: (JBAS-2172) BINARY and BLOB types are stored as org.jboss.invocation.MarshalledValue

Bernd Eckenfels (JIRA) jira-events at jboss.com
Fri Dec 15 09:22:40 EST 2006


    [ http://jira.jboss.com/jira/browse/JBAS-2172?page=comments#action_12348824 ] 
            
Bernd Eckenfels commented on JBAS-2172:
---------------------------------------

Anybody working on that issue? The serializer can be changed trivially:

            obj = new MarshalledValue(obj);
            abyte0 = obj.toByteArray();

However on de-serialization, you might have to check for instanceof MarshalledValue. (And then this might unwrap a MarshalledValue unconditionally...)


> BINARY and BLOB types are stored as org.jboss.invocation.MarshalledValue
> ------------------------------------------------------------------------
>
>                 Key: JBAS-2172
>                 URL: http://jira.jboss.com/jira/browse/JBAS-2172
>             Project: JBoss Application Server
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: CMP service
>    Affects Versions: JBossAS-3.2.7 Final,  JBossAS-4.0.3RC2
>            Reporter: Alexey Loubyansky
>         Assigned To: Alexey Loubyansky
>            Priority: Minor
>
> Binary types have been serialized using JBoss-specific org.jboss.invocation.MarshalledValue. An alternative serialization is needed to not tie users to JBoss-specific classes.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list