Bug #71131 Poor error message in CallableStatement.java
Submitted: 12 Dec 2013 1:06 Modified: 21 Apr 2016 17:09
Reporter: Jess Balint Email Updates:
Status: Closed Impact on me:
Category:Connector / J Severity:S3 (Non-critical)
Version:5.1.28 OS:Any
Assigned to: Filipe Silva CPU Architecture:Any

[12 Dec 2013 1:06] Jess Balint
The following code is found in CallableStatement.java

if (!found) {
	throw SQLError.createSQLException("boo!", "S1000", this.connection.getExceptionInterceptor());

The error message is not informative and should be fixed.

How to repeat:
check code
[21 Apr 2016 17:09] Daniel So
Added the following entry to the Connector/J 5.1.39 changelog:

"The exception message in CallableStatement() for incorrect output parameter registration gave little detail and the wrong error code."
[14 Jun 2016 17:17] Daniel So
Posted by developer:
Added the changelog item for Connector/J 6.0.3 as well, as the fix has been pushed into the 6.0 tree.