Return-Path: X-Original-To: apmail-clerezza-dev-archive@www.apache.org Delivered-To: apmail-clerezza-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F0D510487 for ; Fri, 6 Dec 2013 16:01:39 +0000 (UTC) Received: (qmail 78273 invoked by uid 500); 6 Dec 2013 16:01:39 -0000 Delivered-To: apmail-clerezza-dev-archive@clerezza.apache.org Received: (qmail 78200 invoked by uid 500); 6 Dec 2013 16:01:38 -0000 Mailing-List: contact dev-help@clerezza.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@clerezza.apache.org Delivered-To: mailing list dev@clerezza.apache.org Received: (qmail 77933 invoked by uid 500); 6 Dec 2013 16:01:37 -0000 Delivered-To: apmail-incubator-clerezza-dev@incubator.apache.org Received: (qmail 77924 invoked by uid 99); 6 Dec 2013 16:01:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 16:01:37 +0000 Date: Fri, 6 Dec 2013 16:01:37 +0000 (UTC) From: =?utf-8?Q?Reto_Bachmann-Gm=C3=BCr_=28JIRA=29?= To: clerezza-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLEREZZA-850) SolutionMapping implementation is not serializable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLEREZZA-850?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 841376#comment-13841376 ]=20 Reto Bachmann-Gm=C3=BCr commented on CLEREZZA-850: --------------------------------------------- VETOed Change, see Mailing List. The Problematic part is Resources and thus= becoming seriualizable. > 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 seria= lizable since the underlying HashMap is serializable. However the key (Vari= able) and value (Resource) are not serializable. So as a whole SolutionMapp= ing can not be serialized. > Serialization is needed to create a SolutionMapping based model in an Apa= che 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 compo= nents serializable. -- This message was sent by Atlassian JIRA (v6.1#6144)