You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Tilmann Zäschke (Jira)" <ji...@apache.org> on 2020/08/06 18:09:00 UTC

[jira] [Comment Edited] (JDO-692) Constant string "javax.jdo.spi.PropertiesFileName" not defined in javax.jdo.Constants

    [ https://issues.apache.org/jira/browse/JDO-692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16960392#comment-16960392 ] 

Tilmann Zäschke edited comment on JDO-692 at 8/6/20, 6:08 PM:
--------------------------------------------------------------

As a first step I compared the constants to the ones defined in javax.jdo.Constants.

I could find no definition for:
 * javax.jdo.datastore.DataStoreCache -> This signifies a prefix, no need to have a constant
 * javax.jdo.spi.PropertiesFileName

I'm unsure about these ones:
 * javax.jdo.Name (end of 11.1.1), is it the one defined in PMF_ATTRIBUTE_NAME? -> This should be renamed to javax.jdo.option.Name in the spec

 

 


was (Author: tilmann):
As a first step I compared the constants to the ones defined in javax.jdo.Constants.

I could find no definition for:
 * javax.jdo.datastore.DataStoreCache
 * javax.jdo.spi.PropertiesFileName

I'm unsure about these ones:
 * javax.jdo.Name (end of 11.1.1), is it the one defined in PMF_ATTRIBUTE_NAME? -> This should be renamed to javax.jdo.option.Name in the spec

 

 

> Constant string "javax.jdo.spi.PropertiesFileName" not defined in javax.jdo.Constants
> -------------------------------------------------------------------------------------
>
>                 Key: JDO-692
>                 URL: https://issues.apache.org/jira/browse/JDO-692
>             Project: JDO
>          Issue Type: Bug
>          Components: api, specification
>    Affects Versions: JDO 3 (3.0)
>            Reporter: Matthew T. Adams
>            Assignee: Tilmann Zäschke
>            Priority: Minor
>             Fix For: JDO 3.2
>
>
> The JDO 3.0 specification page 103, bullet point 1 says 'the Map instance passed to the static method will contain a property with a key of "javax.jdo.spi.PropertiesFileName", and a value equal to the result of calling getAbsolutePath() on the file parameter'.  There is no such constant defined in javax.jdo.Constants.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)