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/26 08:06:31 UTC

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

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
             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.


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

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Russell reassigned JDO-511:
---------------------------------

    Assignee: Craig Russell

> 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.


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

Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JDO-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516152 ] 

Andy Jefferson commented on JDO-511:
------------------------------------

Please add it to @Query too. Forgot that in my first list.

> 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.


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

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Craig Russell resolved JDO-511.
-------------------------------

    Resolution: Fixed

> 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.


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

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JDO-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12515835 ] 

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

If there are other annotations that also need extensions please update this JIRA.

> 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.


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

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
    [ 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.