Replies: 1 comment 1 reply
-
Can you provide the complete traceback? Do you have multiple threads creating objects or is this occurring with a single thread? Can you also supply the definition of the embedded object type (batch_detail_tbl)? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
General Info
Python oracledb version: 1.3.2
Database Info
Problem Description
We are seeing an intermittent issue with retrieving a database user-defined object type from our python FastAPI application. In the below snippet of code, the "gettype...newobject" call occasionally fails with the below exception:
Out of curiosity, I wondered if splitting up the statement would resolve the issue. Unfortunately, that was not the case and it began intermittently failing on the "newobject" call with the below exception
As I mentioned, this seems to only fail intermittently. Typically, this will succeed after making the call a second time. I don't believe this is network connectivity related, as this is the only service having issues.
I have also verified that the database user-defined object type is setup as expected with the necessary privileges on the database. Below is the definition of that database object type:
Please let me know if anyone can point me in the right direction with this issue.
Beta Was this translation helpful? Give feedback.
All reactions