incubator-gora-dev mailing list archives

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

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


Mime
View raw message