Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Tom Witmer opened SPR-10385 and commented
The StatementCreatorUtils.setNull(..) method fails with an Oracle database.
The method expects the driver to throw an exception when ps.getParameterMetaData() is invoked (line 234), but this actually succeeds and returns a value.
Later in the method (line 241), when pmd.getParameterType() is invoked, Oracle throws an "Unsupported Feature" exception.
I think the easiest fix here would be to move the getParameterType() invocation into the existing try block so both conditions are accounted for.
Stack trace attached.
Referenced from: commits 6b4c29c
The text was updated successfully, but these errors were encountered:
Tom Witmer commented
Source file attached, in case the line numbers don't match up to trunk source.
Sorry, something went wrong.
Attached source file that should resolve the issue.
I just confirmed via the debugger that the proposed fix (attachment) would resolve the problem I'm seeing.
No branches or pull requests