Return-Path: X-Original-To: apmail-db-jdo-dev-archive@www.apache.org Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 960EE7133 for ; Fri, 30 Sep 2011 16:31:09 +0000 (UTC) Received: (qmail 88891 invoked by uid 500); 30 Sep 2011 16:31:09 -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 88882 invoked by uid 99); 30 Sep 2011 16:31:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2011 16:31:09 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2011 16:31:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9E7CB2A2D59 for ; Fri, 30 Sep 2011 16:30:45 +0000 (UTC) Date: Fri, 30 Sep 2011 16:30:45 +0000 (UTC) From: "Michael Bouschen (Updated) (JIRA)" To: jdo-dev@db.apache.org Message-ID: <1402417938.11879.1317400245650.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <457706076.3069.1317131113518.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (JDO-689) JDO 3.0 specification refers to property javax.jdo.spi.PropertiesResourceName but javax.jdo.Constants calls it javax.jdo.spi.ResourceName MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bouschen updated JDO-689: --------------------------------- Component/s: (was: api) Assignee: Craig L Russell > JDO 3.0 specification refers to property javax.jdo.spi.PropertiesResourceName but javax.jdo.Constants calls it javax.jdo.spi.ResourceName > ----------------------------------------------------------------------------------------------------------------------------------------- > > Key: JDO-689 > URL: https://issues.apache.org/jira/browse/JDO-689 > Project: JDO > Issue Type: Bug > Components: specification > Affects Versions: JDO 2 maintenance release 1, JDO 2 maintenance release 1 update 1, JDO 2 maintenance release 2, JDO 2 maintenance release 2 update 1, JDO 3, JDO 3 update 1, JDO 3 maintenance release 1, JDO 3 maintenance release 2 > Reporter: Matthew T. Adams > Assignee: Craig L Russell > > Section 11.1.1 "Construction by Properties", page 103, paragraph 6, bullet point 2 says 'the Properties instance passed to the static method will contain a property with a key of "javax.jdo.spi.PropertiesResourceName", and a value equal to the name of the resource'. The string constant in the JDO API code doesn't exist. javax.jdo.Constants contains the following member: > static String PROPERTY_SPI_RESOURCE_NAME > = "javax.jdo.option.spi.ResourceName"; > I suggest updating the spec to reflect the correct string in the code rather than modifying the code. I discovered this in JDO 3.1, but may effect versions of the specification beginning with 2.1 and later as the javadoc for this constant includes "@since 2.1". -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira