-
Notifications
You must be signed in to change notification settings - Fork 80
CLOB in/out parameters no longer work in 3.0.0 #468
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
Comments
I can replicate the issue. The problem is that with 3.0.0 the ability to close temporary LOBs was extended to all round trips and the temporary LOB that was created is mistakenly being added to the list of temporary LOBs to close. If you add another |
I have pushed a patch that corrects this issue and have initated a build from which you can download pre-built development wheels once it completes. You can also build from source if you prefer. If you can test your scenario and confirm the patch works as expected, that would be appreciated! |
I've done the following in my checkout of
With the resulting installed
i.e. it works now. |
This was included in python-oracledb 3.1.0 which was just released. |
The database is
The script
reports
Code that worked with
oracledb
2.5.1 now raises aI have the following procedure:
And I try to call it with the following Python code:
This gives the following stack trace
No
See above
And if I change the procedure like that:
the Python code starts to work and outputs
eq_body bar
as expected.Also with
oracledb
2.5.1 the original procedure (with thenull
body) works.The text was updated successfully, but these errors were encountered: