Replies: 1 comment 8 replies
-
Yes, you can't pass a list of objects directly. That can only be done with certain types (number, string, date). You have to instantiate the agent_list_t object and populate it. Did you need an example of how to do that? |
Beta Was this translation helpful? Give feedback.
8 replies
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.
-
I'd like to call
DBMS_AQ.LISTEN
from python-oracledb, which needs a table of object types as input.However, I didn't manage to bind such a type as IN variable for
cursor.callproc()
.I have created a small example that shows the problem:
I tried to bind the IN parameters like this:
This yields
oracledb.exceptions.DatabaseError: DPI-1013: not supported
on python-oracledb and a segfault on cx_Oracle 8.2.Did I do something wrong?
Is there any workaround?
Beta Was this translation helpful? Give feedback.
All reactions