[
https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthew T. Adams updated JDO-696:
---------------------------------
Attachment: JDO-684.src.patch
Updated patch: moved method assertOnlyKnownStandardProperties to JDOImplHelper
& refactored it to exhaustively go through all keys instead of throwing on just
the first for a better end-user experience. If multiple unknown keys are
found, a JDOUserException is thrown with a message containing all unknown keys
and with a nested JDOUserException[] containing a JDOUserException for each
unknown key.
> Throw on unrecognized javax.jdo options
> ---------------------------------------
>
> Key: JDO-696
> URL: https://issues.apache.org/jira/browse/JDO-696
> Project: JDO
> Issue Type: Improvement
> Components: api
> Affects Versions: JDO 3 maintenance release 1
> Reporter: Matthew T. Adams
> Assignee: Matthew T. Adams
> Fix For: JDO 3 maintenance release 1
>
> Attachments: JDO-684.src.patch
>
>
> If a user specifies an unrecognized option that begins with JDO's standard
> prefix "javax.jdo.", then an exception (JDOUserException or a sub) should be
> thrown by either the implementation or JDOHelper, depending on the
> bootstrapping mechanism employed by the user.
--
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