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 "Craig Russell (JIRA)" <ji...@apache.org> on 2007/08/01 05:27:52 UTC

[jira] Commented: (JDO-511) Add "extensions" element to @Join, @Element, @Key, @Value, @DatastoreIdentity, ...

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

Craig Russell commented on JDO-511:
-----------------------------------

 svn commit
Sending        api2/src/java/javax/jdo/annotations/Implements.java
Sending        api2/src/java/javax/jdo/annotations/Query.java
Deleting       api2/src/java/javax/jdo/annotations/QueryLanguage.java
Transmitting file data ..
Committed revision 561631.

This change adds extensions to @Query and also changes queryLanguage to String and changes String[] to Class[] in @Implements.

> Add "extensions" element to @Join, @Element, @Key, @Value, @DatastoreIdentity, ...
> ----------------------------------------------------------------------------------
>
>                 Key: JDO-511
>                 URL: https://issues.apache.org/jira/browse/JDO-511
>             Project: JDO
>          Issue Type: Improvement
>          Components: api2
>            Reporter: Andy Jefferson
>            Assignee: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>
> Vendors have their own extensions to various XML metadata elements and it is desirable for these to be usable with annotations. @PersistenceCapable, @Persistent, @Sequence offer these, but many others don't. The principal ones being
> @Join, @Element, @Key, @Value, @DatastoreIdentity, @Column, @Version,
> and they need the following adding
>     /** Vendor extensions for this member.
>      * @return the vendor extensions
>      */
>     Extension[] extensions() default {};

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