db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JDO-515) Allow custom settings for some annotation enum values
Date Wed, 15 Aug 2007 01:17:31 GMT

     [ https://issues.apache.org/jira/browse/JDO-515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Craig Russell updated JDO-515:
------------------------------

    Attachment: jdo-515.patch

This patch adds custom strategies to @DatastoreIdentity, @Discriminator, @Inheritance, @Persistent,
and @Version. This is a bit more than the issue raises but is consistent with the concept
that if there is a strategy, there might be a custom strategy.

Please review to be sure I haven't missed anything. 

> Allow custom settings for some annotation enum values
> -----------------------------------------------------
>
>                 Key: JDO-515
>                 URL: https://issues.apache.org/jira/browse/JDO-515
>             Project: JDO
>          Issue Type: Improvement
>          Components: api2
>            Reporter: Andy Jefferson
>             Fix For: JDO 2 maintenance release 1
>
>         Attachments: jdo-515.patch
>
>
> JDO2.1 annotations utilise some enums defining the acceptable values for various strategies.
The following need changing to allow implementations to provide custom values.
> @Persistence "valueStrategy", @DatastoreIdentity "strategy" are of the type IdGenerationStrategy.
 Changes required :
> 1. IdGenerationStrategy needs UNKNOWN changing to UNSPECIFIED.
> 2. @Persistence : add "customValueStrategy"
> 3. @DatastoreIdentity : add "customStrategy"
> @Inheritance "strategy" is of type InheritanceStrategy. Changes required :
> 1. InheritanceStrategy needs UNSPECIFIED adding.
> 2. @Inheritance : change "strategy" to have default of UNSPECIFIED
> 3. @Inheritance : add "customStrategy"

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


Mime
View raw message