incubator-gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GORA-15) Primitive types cannot be used as keys in DataStore
Date Tue, 16 Nov 2010 13:17:13 GMT

    [ https://issues.apache.org/jira/browse/GORA-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12932456#action_12932456
] 

Andrzej Bialecki  commented on GORA-15:
---------------------------------------

+1. I think that javadoc for DataStore.newKey() should mention that it will throw exception
on primitive keys.

> 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.


Mime
View raw message