-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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? Sign in to your account
Return more details on the actual error instead of "invalid column data" #109
Comments
I have to look at what information is available for the various drivers, but this can probably be done. |
How is this solved now? Do you have this covered in the testing code already? |
Actually some work for this stayed out, I am reopening it |
This may need to be moved out to a separate issue - not sure, but Oracle provides an additional library call that can be used to get the error message of up to 200 characters - SQLGLM and a It likely will also be useful to be provided for migrations. |
Addition to the one above: MicroFocus' (now OpenText, now RocketSoftware) OpenESQL (which references "open systems" like GNU/Linux) has one extension, that their last addition COBOL-IT's new CitOESQL also supports. From MF's docs:
Adding both this extension and SQLGLM would mean:
Possibly interesting from CitOESQL:
|
BTW: Would there be the option to return more details on the actual error (maybe in SQLERRM and only use "invalid column data" as fallback)?
I think other sql environments provide the source / target parameter count that has wrong data in some of the SQLERRD fields (but I'm not sure), maybe this would additionally be possible, too?
Note: I'm sure that seeing this error is only a side effect of a previous error, still looking... (but that's unrelated to this issue).
Originally posted by @GitMensch in #107 (comment)
The text was updated successfully, but these errors were encountered: