gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfonso Nishikawa (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-189) Embrace all text-like parameters in generated Persistent subclasses by Compiler CharSequence
Date Tue, 05 Aug 2014 12:05:12 GMT

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

Alfonso Nishikawa commented on GORA-189:
----------------------------------------

I don't understand why it was throwing a ClassCastException since {{get(0)}} should be of
type byte ({{ByteBuffer}}). If I am not wrong, {{get(0)}} refers to {{__g__dirty}} field.
What am I missing?

> Embrace all text-like parameters in generated Persistent subclasses by Compiler CharSequence
> --------------------------------------------------------------------------------------------
>
>                 Key: GORA-189
>                 URL: https://issues.apache.org/jira/browse/GORA-189
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-core
>    Affects Versions: 0.2.1
>            Reporter: Alfonso Nishikawa
>            Assignee: Lewis John McGibbney
>            Priority: Trivial
>             Fix For: 0.5
>
>         Attachments: GORA-189.patch, GORA-189v2.patch
>
>
> It would be much useful if gora compiler generates methods taking Strings as parameters
(and creating Utf8 inside automatically). Code would be much more clear and simple when populating
that classes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message