clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Minto van der Sluis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLEREZZA-850) SolutionMapping implementation is not serializable
Date Fri, 06 Dec 2013 14:35:36 GMT
Minto van der Sluis created CLEREZZA-850:
--------------------------------------------

             Summary: 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.1#6144)

Mime
View raw message