[ 
https://issues.apache.org/jira/browse/JDO-689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthew T. Adams updated JDO-689:
---------------------------------

    Summary: JDO 3.0 specification refers to property 
javax.jdo.spi.PropertiesResourceName but javax.jdo.Constants calls it 
javax.jdo.spi.option.ResourceName  (was: JDO 3.0 specification refers to 
property javax.jdo.spi.PropertiesResourceName but javax.jdo.Constants calls it 
javax.jdo.spi.ResourceName)
    
> JDO 3.0 specification refers to property javax.jdo.spi.PropertiesResourceName 
> but javax.jdo.Constants calls it javax.jdo.spi.option.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

        

Reply via email to