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

Andy Jefferson commented on JDO-678:
------------------------------------

I would expect all existing (standard) properties to be present (those that 
have setters/getters currently - Multithreaded, IgnoreCache, 
DatastoreReadTimeoutMillis, DatastoreWriteTimeoutMillis, DetachAllOnCommit, 
CopyOnAttach). And I'd use the same PMF namings javax.jdo.option.XXX for 
consistency.

So getSupportedProperties would return the standard (existing) properties, as 
well as vendor extensions, and getProperty(name), setProperty(name, val) would 
take in "name" of javax.jdo.option.XXX for the existing properties (as well as 
any vendor extensions).

> Ability to set properties on PersistenceManager
> -----------------------------------------------
>
>                 Key: JDO-678
>                 URL: https://issues.apache.org/jira/browse/JDO-678
>             Project: JDO
>          Issue Type: Improvement
>          Components: api, specification, tck
>    Affects Versions: JDO 3
>            Reporter: Andy Jefferson
>            Assignee: Andy Jefferson
>             Fix For: JDO 3 maintenance release 1
>
>         Attachments: jdo-678.patch
>
>
> It would be desirable to be able to set properties on the PersistenceManager, 
> so as to be able to configure/change behaviour for a PM. Currently the PM is 
> generated with particular configuration (from the PMF) and allows specific 
> options to be set. But what about vendor extensions ? Having a general 
> setProperty/getProperty/getSupportedProperties would be useful, and could 
> also encompass the existing detachAllOnCommit, IgnoreCache, etc settings.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to