db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-403) JDO2 Annotations
Date Wed, 04 Jul 2007 06:22:04 GMT

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

Andy Jefferson commented on JDO-403:

> We are missing the references to ForeignKey, Index, and Unique on PersistenceCapable

We have @ForeignKeys, @ForeignKey, @Indexes, @Index, @Uniques, @Unique that are specifable
at class level. You could add them to @PersistenceCapable but due to readability issues people
are VERY unlikely to ever use it - nested annotations are hard enough to read at the best
of times, and there is no need when you can put more than 1 annotation against a class.

> JDO2 Annotations
> ----------------
>                 Key: JDO-403
>                 URL: https://issues.apache.org/jira/browse/JDO-403
>             Project: JDO
>          Issue Type: New Feature
>          Components: api2
>    Affects Versions: JDO 2 final
>            Reporter: Andy Jefferson
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 1
>         Attachments: embedded.patch, embedded.patch, fkpk.patch, jdo_2_1_annotations.jar,
tck2a.patch, tck2b.patch
> It would be desirable for JDO2 to have its own set of annotations. We have developed
a set within JPOX that would likely serve as a starting point for such a set. In my opinion
they should be
> 1. Split into javax.jdo.annotations.jdo and javax.jdo.annotations.orm
> 2. Move ORM attributes from some of the JDO annotations and have a ORM annotation.

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

View raw message