python-3.x - cx_Oracle:XML 和 LONG 数据类型 - 在 cx_Oracle 中具有相同的定义
问题描述
在处理 Oracle 数据时,为了读取 XML 类型 - 我们在 Oracle 中使用 GetClobVal() 函数。对于 LONG 数据类型 - 不需要。问题是,在 python 的 cx_Oracle 模块中,两者都定义为 DB_TYPE_LONG。这可以防止自动读取带/不带 GetClobVal 的 LONG 和 XML 数据。python/cx_Oracle 中是否有区分 LONG 和 XML 的方法?
解决方案
推荐阅读
- javascript - 赛普拉斯包含 if/else 条件中的语句
- javascript - 非法的字符串偏移并且未在 contact-script.php 中显示表单字段
- javascript - 如何从 JavaScript 中的本地目录检索文件名?
- google-chrome-devtools - 无法从开发工具中获取颜色十六进制值
- c# - Microsoft Identity Web:更改重定向 Uri
- python - Jupyter Notebook 在 vpython 中不显示任何输出,并且在重新启动内核后仅显示一次输出,而不是再次显示
- http - 如何在终端中使用命令行将我的 https 更改为 http?
- java - 如果我的验证器需要在验证之前调用数据库,我应该让数据库处理这个验证吗?
- postgresql - 如何解决 Scala 中的 GC 超限问题?
- kubernetes - io.fabric8.kubernetes.client.KubernetesClientException:禁止!配置的服务帐户无权访问