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 "Matthew T. Adams (Created) (JIRA)" <ji...@apache.org> on 2011/09/30 16:12:45 UTC
[jira] [Created] (JDO-696) Throw on unrecognized javax.jdo options
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
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
[jira] [Reopened] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Andy Jefferson (Reopened) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Jefferson reopened JDO-696:
--------------------------------
> 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 (3.1)
> Reporter: Matthew T. Adams
> Assignee: Matthew T. Adams
> Fix For: JDO 3 maintenance release 1 (3.1)
>
> Attachments: JDO-696.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
[jira] [Updated] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Matthew T. Adams (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Matthew T. Adams (Updated) (JIRA)" <ji...@apache.org>.
[ 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-696.src.patch
This patch contains fixes only for the api source. Tests will be added when changes for JDO-695 are checked in.
Please review for correct list of user-configurable standard properties.
> 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-696.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
[jira] [Commented] (JDO-696) Throw on unrecognized javax.jdo
options
Posted by "Michael Bouschen (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153868#comment-13153868 ]
Michael Bouschen commented on JDO-696:
--------------------------------------
The patch JDO-696.patch looks good.
Having case-insensitive properties is fine with me.
I propose the following spec change in chapter 11.1.1 on page 103:
Add the sentence "Property names are case-insensitive." at the beginning of paragraph "Any property not recognized by the implementation must be silently ignored. ..."
> 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-696.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
[jira] [Commented] (JDO-696) Throw on unrecognized javax.jdo
options
Posted by "Andy Jefferson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194603#comment-13194603 ]
Andy Jefferson commented on JDO-696:
------------------------------------
If you run this against DataNucleus api-jdo 3.0.5-SNAPSHOT (nightly builds) it has a call to JDOImplHelper.assertXXX to check for such properties. This now correctly throws JDOUserException from DataNucleus. These tests still fail since they have an error; you call invokeGetPMF() but this will call invoke on a method, consequently the exception actually thrown by that is InvocationTargetException with the JDOUserException as its cause. Somebody needs to update this test to fix this
> 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 (3.1)
> Reporter: Matthew T. Adams
> Assignee: Matthew T. Adams
> Fix For: JDO 3 maintenance release 1 (3.1)
>
> Attachments: JDO-696.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
[jira] [Updated] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Matthew T. Adams (Updated) (JIRA)" <ji...@apache.org>.
[ 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-696.patch
Added case-insensitive code.
> 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-696.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
[jira] [Updated] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Matthew T. Adams (Updated) (JIRA)" <ji...@apache.org>.
[ 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-696.patch
Proposed final patch #1 for api project -- now includes api project test cases. TCK tests (JDO-698) still TBD.
> 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-696.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
[jira] [Updated] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Matthew T. Adams (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew T. Adams updated JDO-696:
---------------------------------
Attachment: (was: JDO-684.src.patch)
> 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
>
>
> 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
[jira] [Commented] (JDO-696) Throw on unrecognized javax.jdo
options
Posted by "Matthew T. Adams (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148587#comment-13148587 ]
Matthew T. Adams commented on JDO-696:
--------------------------------------
I will make the check for known javax.jdo properties case-insensitive so that "Javax.JDO" is considered to be the same as "javax.jdo". Speak up if you no likey.
> 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-696.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
[jira] [Resolved] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Matthew T. Adams (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew T. Adams resolved JDO-696.
----------------------------------
Resolution: Fixed
changes committed
> 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 (3.1)
> Reporter: Matthew T. Adams
> Assignee: Matthew T. Adams
> Fix For: JDO 3 maintenance release 1 (3.1)
>
> Attachments: JDO-696.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
[jira] [Commented] (JDO-696) Throw on unrecognized javax.jdo
options
Posted by "Matthew T. Adams (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127700#comment-13127700 ]
Matthew T. Adams commented on JDO-696:
--------------------------------------
Feeback from conf call:
* minor patch changes (forthcoming)
* add tests to api project
* add TCK tests for IUT
* spec updates
> 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-696.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
[jira] [Updated] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Matthew T. Adams (Updated) (JIRA)" <ji...@apache.org>.
[ 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
Aforementioned patch with changes as a result of conf call feedback.
> 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
[jira] [Commented] (JDO-696) Throw on unrecognized javax.jdo
options
Posted by "Craig L Russell (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148635#comment-13148635 ]
Craig L Russell commented on JDO-696:
-------------------------------------
Since we're trying to avoid type kinds of errors, I agree that it makes sense to flag case-insensitive typos as well.
> 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-696.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
[jira] [Updated] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Michael Bouschen (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Bouschen updated JDO-696:
---------------------------------
Fix Version/s: JDO 3 maintenance release 1
Assignee: Matthew T. Adams
> 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
>
>
> 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
[jira] [Updated] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Matthew T. Adams (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew T. Adams updated JDO-696:
---------------------------------
Attachment: (was: JDO-696.patch)
> 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-696.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
[jira] [Updated] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Matthew T. Adams (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew T. Adams updated JDO-696:
---------------------------------
Attachment: (was: JDO-696.src.patch)
> 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
[jira] [Updated] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Matthew T. Adams (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthew T. Adams updated JDO-696:
---------------------------------
Attachment: (was: JDO-684.src.patch)
> 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
>
>
> 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
[jira] [Commented] (JDO-696) Throw on unrecognized javax.jdo
options
Posted by "Matthew T. Adams (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13194903#comment-13194903 ]
Matthew T. Adams commented on JDO-696:
--------------------------------------
Thanks, Andy. I'll have a look & fix.
> 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 (3.1)
> Reporter: Matthew T. Adams
> Assignee: Matthew T. Adams
> Fix For: JDO 3 maintenance release 1 (3.1)
>
> Attachments: JDO-696.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
[jira] [Commented] (JDO-696) Throw on unrecognized javax.jdo
options
Posted by "Craig L Russell (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149446#comment-13149446 ]
Craig L Russell commented on JDO-696:
-------------------------------------
The code now requires case-insensitive properties, e.g. JAVAX.jdo.Name, to be accepted.
Does anyone have any problems with this? A specification change will be needed.
> 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-696.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
[jira] [Resolved] (JDO-696) Throw on unrecognized javax.jdo options
Posted by "Andy Jefferson (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JDO-696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Jefferson resolved JDO-696.
--------------------------------
Resolution: Fixed
SVN trunk has a fix to that test. All passes with DataNucleus versions specified in pom.xml.
> 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 (3.1)
> Reporter: Matthew T. Adams
> Assignee: Matthew T. Adams
> Fix For: JDO 3 maintenance release 1 (3.1)
>
> Attachments: JDO-696.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