07-23-07 06:11 AM
[ https://issues.apache.org/jira/brow...action_12514552 ]
Andy Jefferson commented on JDO-510:
------------------------------------
There is a need for a way of overriding fields/properties in superclasses. T
o allow it for a single field/property would mean making @Persistent availab
le at ElementType.TYPE, but rather than that it should be available for spec
ifying 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 persis
tent fields and properties in the same way. We started out thinking that we could si
mply map the xml field to annotations @Field and xml property to @Property but could
no
t 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 o
f 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.
[ Post a follow-up to this message ]
|