Return-Path: Delivered-To: apmail-incubator-gora-dev-archive@minotaur.apache.org Received: (qmail 36042 invoked from network); 15 Nov 2010 10:14:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Nov 2010 10:14:06 -0000 Received: (qmail 95237 invoked by uid 500); 15 Nov 2010 10:14:38 -0000 Delivered-To: apmail-incubator-gora-dev-archive@incubator.apache.org Received: (qmail 95210 invoked by uid 500); 15 Nov 2010 10:14:38 -0000 Mailing-List: contact gora-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: gora-dev@incubator.apache.org Delivered-To: mailing list gora-dev@incubator.apache.org Received: (qmail 95202 invoked by uid 99); 15 Nov 2010 10:14:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 10:14:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Nov 2010 10:14:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oAFAEDAi003779 for ; Mon, 15 Nov 2010 10:14:13 GMT Message-ID: <501750.80051289816053663.JavaMail.jira@thor> Date: Mon, 15 Nov 2010 05:14:13 -0500 (EST) From: "Enis Soztutar (JIRA)" To: gora-dev@incubator.apache.org Subject: [jira] Commented: (GORA-15) Primitive types cannot be used as keys in DataStore In-Reply-To: <14617242.78921289803333629.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GORA-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932022#action_12932022 ] Enis Soztutar commented on GORA-15: ----------------------------------- Yes, but if the class does not define no-arg c.tor this means that new keys cannot be created. Calling DataStore#newKey() will throw an exception with the appropriate message. Is this acceptable? > Primitive types cannot be used as keys in DataStore > --------------------------------------------------- > > Key: GORA-15 > URL: https://issues.apache.org/jira/browse/GORA-15 > Project: Gora > Issue Type: Bug > Components: storage > Affects Versions: 0.1-incubating > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Attachments: gora-15_v1.patch > > > We cannot use primitive wrapper classes(Long, Integer, etc) in DataStore as keys since BeanFactoryImpl needs a no-arg constructor. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.