Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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"
Attachments
Attachments
Issue Links
- incorporates
-
JDO-516 Cut and paste error in javadoc in annotations package
- Closed