[jira] Updated: (JDO-515) Allow custom settings for some annotation
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > [jira] Updated: (JDO-515) Allow custom settings for some annotation




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Updated: (JDO-515) Allow custom settings for some annotation  
Craig Russell (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-15-07 06:11 AM


[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]

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

Attachment: jdo-515.patch

This patch adds custom strategies to @DatastoreIdentity, @Discriminator, @In
heritance, @Persistent, and @Version. This is a bit more than the issue rais
es but is consistent with the concept that if there is a strategy, there mig
ht 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 v
arious strategies. The following need changing to allow implementations to p
rovide custom values.
> @Persistence "valueStrategy", @DatastoreIdentity "strategy" are of the typ
e 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.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:53 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register