When I use SimpleJdbcCall class to call DB function (executeFunction()) which doesn't exists (e.g. provde invalid schema name), then I got following message:
CallableStatementCallback; uncategorized SQLException for SQL [{? = call My_Procedure_Name SQL state [99999]; error code [17041]; Missing IN or OUT parameter at index:: 1
This message suggest that something is wrong with parameters which is not the case.
When I call a missing DB procedure (execute()) got following message:
CallableStatementCallback; bad SQL grammar [{call My_procedure_name}]; nested exception is java.sql.SQLException: ORA-06550: line 1, column 7:
PLS-00201: identifier 'My_procedure_name' must be declared
I test it on Oracle database, so you see here Oracle specific error code (ORA-06550), but this is only an example. Second message is OK - it gives information what's really wrong.
Affects: 3.1.1
The text was updated successfully, but these errors were encountered:
Thomas Risberg, at a glance this looks like it's just a matter of a missing error code translation. Can you look a little closer and comment? Feel free to reassign to yourself and submit a pull request if you see fit and have time. Thanks.
Phil Barnes opened SPR-9853 and commented
When I use SimpleJdbcCall class to call DB function (executeFunction()) which doesn't exists (e.g. provde invalid schema name), then I got following message:
This message suggest that something is wrong with parameters which is not the case.
When I call a missing DB procedure (execute()) got following message:
I test it on Oracle database, so you see here Oracle specific error code (ORA-06550), but this is only an example. Second message is OK - it gives information what's really wrong.
Affects: 3.1.1
The text was updated successfully, but these errors were encountered: