Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
JDO 2 maintenance release 1 (2.1), JDO 2 maintenance release 1 update 1 (2.1.1), JDO 2 maintenance release 2 (2.2), JDO 2 maintenance release 2 update 1 (2.2.1), JDO 3 (3.0), JDO 3 update 1 (3.0.1), JDO 3.1-rc1, JDO 3.2
-
None
Description
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".
Attachments
Issue Links
- relates to
-
JDO-690 Constant string "javax.jdo.Name" not defined in javax.jdo.Constants
- Closed