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

Richard Zowalla resolved OPENJPA-928.
-------------------------------------
    Resolution: Fixed

Already fixed on master: BrokerImpl.getSupportedProperties (:812-816) uses 
ConfigurationImpl.getPropertyKeys (:747-762), which takes Value.getPropertyKeys 
(property name plus equivalents, Value.java:120-127), never getLoadKey, so a 
wsjpa.* load key is not returned. Closing; please reopen if this still happens 
with OpenJPA 4.x.

> getSupportedProperties() shows wsjpa property by default
> --------------------------------------------------------
>
>                 Key: OPENJPA-928
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-928
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.0.0-M2
>            Reporter: Dianne E. Richards
>            Assignee: Dianne E. Richards
>            Priority: Minor
>
> If a derived product has specified a setLoadKey() for a property, that 
> property is returned in the getSupportedProperties(). A test case with wsjpa 
> has shown this. For example, wsjpa.AutoClear is returned instead of 
> openjpa.AutoClear. It's up to a derived product to determine which properties 
> it supports, in addition to or in replacement of the openjpa-prefixed 
> properties. So, this method should only return spec-defined properties and 
> properties prefixed with openjpa.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to