【发布时间】:2019-03-07 10:05:10
【问题描述】:
cx_Oracle 有办法做到这一点:
typeObj = connection.gettype("PKG_DEMO.UDT_DEMORECORD")
obj = typeObj.newobject()
但在文档中说:
This feature is new in cx_Oracle 5.3 and is only available in Oracle
Database 12.1 and higher.
在我的情况下,oracle 服务器版本是 11g,我无法更改功能本身。 我认为由于服务器版本 python 引发错误:
cx_Oracle.DatabaseError: ORA-04043: object PKG_DEMO.UDT_DEMORECORD does not exist
有没有办法从 oracle 11g 获取记录?
【问题讨论】:
标签: python oracle function cx-oracle