Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.3.15
-
None
-
centOS7
Description
When using CONNECT JDBC and an error occurs while obtaining schema info (i.e. with CATFUNC=TABLES) you generally get a good and very usable error message something like the following:
(conn=4121) Got error 174 'GetTables: XcoreXsalesforceX190X7062.fkd: [sf:INVALID_LOGIN] INVALID_LOGIN: Invalid username, password, security token; or user locked out. ' from CONNECT |
In the above case it appears to be passing up the error message from exception thrown by the JDBC driver. However, if you then create a connect JDBC table successfully but later do something like a SELECT * FROM MyConnectTable that generates an error from the remote system, the error is generic as follows:
ERROR: (conn=4124) Got error 174 'Cannot get result size rc=-1' from CONNECT |
It would be very, very helpful if the error text (exception.getLocalizedMessage() ) was included in the CONNECT error message at all times.... just like it is when CATFUNC=TABLES is used.