Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 96064 invoked from network); 13 Aug 2007 16:39:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Aug 2007 16:39:53 -0000 Received: (qmail 17542 invoked by uid 500); 13 Aug 2007 16:39:52 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 17531 invoked by uid 99); 13 Aug 2007 16:39:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 09:39:51 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Aug 2007 16:40:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 824B1714168 for ; Mon, 13 Aug 2007 09:39:30 -0700 (PDT) Message-ID: <4591880.1187023170512.JavaMail.jira@brutus> Date: Mon, 13 Aug 2007 09:39:30 -0700 (PDT) From: "Andy Jefferson (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Created: (JDO-515) Allow custom settings for some annotation enum values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.