-
Notifications
You must be signed in to change notification settings - Fork 58
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
Support for fetch_lobs
and fetch_decimal
per connection instead of globally
#19
Comments
I thought this might be coming. :-) It makes sense and we will definitely implement something llike it in a future release. In the meantime, note tht the |
Why is that?
With
|
Just because it is a natural extension of the capability. Most people are going to want to simply set
Ah! You are executing the same SQL -- so the code that builds the list of fetch variables only runs the first time and then retains them until different SQL is run or until a new cursor is built. There is code to check for changes to the output type handler but not for changes to the fetch_lobs or fetch_decimals values when executing identical SQL. That should be corrected as well. I'll take a note. |
That's what I implemented in It would be a shame, if I couldn't use the new So, yes: Support for
OK, that explains the "erratic" behaviour: Sometimes the |
It would be great, if
fetch_lobs
andfetch_decimal
were supported as parameters fororacledb.connect()
directly instead of only as global configuration parameters inoracledb.defaults
that only take effect on the nextoracledb.connect()
call.So I would like to be able to do:
instead of:
The text was updated successfully, but these errors were encountered: