You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Alparslan Avcı (JIRA)" <ji...@apache.org> on 2014/05/02 17:20:14 UTC

[jira] [Updated] (GORA-326) Removal of _g_dirty field from _ALL_FIELDS array and Field Enum in Persistent classes

     [ https://issues.apache.org/jira/browse/GORA-326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alparslan Avcı updated GORA-326:
--------------------------------

    Description: 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.  (was: 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.)

> 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: Bug
>    Affects Versions: 0.4
>            Reporter: Alparslan Avcı
>            Priority: Minor
>              Labels: gora-core
>
> 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)