You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Andy Jefferson (JIRA)" <ji...@apache.org> on 2007/07/23 06:27:31 UTC

[jira] Commented: (JDO-510) Remove @Field and @Property and replace them with @Persistent

    [ https://issues.apache.org/jira/browse/JDO-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12514552 ] 

Andy Jefferson commented on JDO-510:
------------------------------------

There is a need for a way of overriding fields/properties in superclasses. To allow it for a single field/property would mean making @Persistent available at ElementType.TYPE, but rather than that it should be available for specifying multiple fields .... @Persistents?, @OverriddenMembers?, @Overrides?, @Members?

> Remove @Field and @Property and replace them with @Persistent
> -------------------------------------------------------------
>
>                 Key: JDO-510
>                 URL: https://issues.apache.org/jira/browse/JDO-510
>             Project: JDO
>          Issue Type: New Feature
>          Components: api2
>            Reporter: Craig Russell
>            Assignee: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: jdo-510.patch
>
>
> Annotations are different from xml ways that make it impossible to refer to persistent fields and properties in the same way. We started out thinking that we could simply map the xml field to annotations @Field and xml property to @Property but could not refer to multiples in a sane way.
> This change removes @Field and @Property and replaces them with @Persistent. Other annotations that refer to these are changed so that they refer to members instead of to fields or properties.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.