You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Affects: 3.2.2
Attachments:
Issue Links:
Referenced from: commits 6b4c29c
The text was updated successfully, but these errors were encountered: