You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Minto van der Sluis (JIRA)" <ji...@apache.org> on 2014/04/11 10:43:16 UTC

[jira] [Commented] (CLEREZZA-850) SolutionMapping implementation is not serializable

    [ https://issues.apache.org/jira/browse/CLEREZZA-850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13966334#comment-13966334 ] 

Minto van der Sluis commented on CLEREZZA-850:
----------------------------------------------

See also the following mailing list threads:
http://mail-archives.apache.org/mod_mbox/clerezza-dev/201312.mbox/%3C52A1B7F9.9010101%40xup.nl%3E
http://mail-archives.apache.org/mod_mbox/clerezza-dev/201312.mbox/%3CCALvhUEVG5PTFkEOZZ5uJ_Uw98gbvPyP%3DSaXC3LZn6mpx0fwb9g%40mail.gmail.com%3E


> SolutionMapping implementation is not serializable
> --------------------------------------------------
>
>                 Key: CLEREZZA-850
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-850
>             Project: Clerezza
>          Issue Type: Bug
>          Components: rdf.core
>            Reporter: Minto van der Sluis
>            Assignee: Minto van der Sluis
>            Priority: Critical
>
> The SolutionMapping implementation HashMapSolutionMapping itself is serializable since the underlying HashMap is serializable. However the key (Variable) and value (Resource) are not serializable. So as a whole SolutionMapping can not be serialized.
> Serialization is needed to create a SolutionMapping based model in an Apache Wicket based project. Now there are 2 posiblities to fix this:
> 1) Wrap SolutionMapping in a serialized equivalent
> 2) Make the necessary Clerezza parts serializable
> If there aren't any objections. I prefer option 2. Making the right components serializable.



--
This message was sent by Atlassian JIRA
(v6.2#6252)