gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-326) Removal of _g_dirty field from _ALL_FIELDS array and Field Enum in Persistent classes
Date Tue, 15 Jul 2014 14:38:05 GMT

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

Lewis John McGibbney commented on GORA-326:
-------------------------------------------

We need to address this before we commit the patch. Should be able to do it from wthin template.vm?

> Removal of _g_dirty field from _ALL_FIELDS array and Field Enum in Persistent classes
> -------------------------------------------------------------------------------------
>
>                 Key: GORA-326
>                 URL: https://issues.apache.org/jira/browse/GORA-326
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-core
>    Affects Versions: 0.4
>            Reporter: Alparslan Avc─▒
>            Priority: Minor
>              Labels: gora-core
>             Fix For: 0.5
>
>         Attachments: GORA-326.patch, GORA-326.v1.patch
>
>
> In auto-generated persistent classes, we create an array field called ALL_FIELDS as you
know. But this array also contains _g_dirty field, which is not a stored field at all. Maybe
we should remove _g_dirty field from the array, since the array is used for getting all fields
in the stored table. We can also remove it from Field enum, so the users do not know about
the _g_dirty field.



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

Mime
View raw message