Apache JDO Project - [jira] Created: (JDO-515) Allow custom settings for some annotation

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > August 2007 > [jira] Created: (JDO-515) Allow custom settings for some annotation





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Created: (JDO-515) Allow custom settings for some annotation
Andy Jefferson (JIRA)

2007-08-13, 1:11 pm

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


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.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com