首页 > 编程知识 正文

oracle编译失效对象,MySQL json

时间:2023-05-04 05:17:44 阅读:14600 作者:507

Oracle 11g支持支持JSON (支持jsoninoracle 11 g ) Oracle 11g是否支持JSON? 意思就像在PL/SQL查询中操作JSON对象一样。 我知道Oralcle 12c支持这些东西,但11g似乎没有。 主要关心的是PL/SQL代码是否可以处理rest风格的API调用(使用UTL_HTTP包)返回的JSON对象。 这就是我调用rest风格的API的方式: req :=utl _ http.begin _ request (' https://xxxx/API/job/all '、' GET '、' HTTP/1.1 ' ); UTL_http.set_header(req,' Content-Type ',' application/json ' ); UTL_http.set_header(req,' apikey ','xxxxx

();

resp :=utl _ http.get _ response (req;

然后,必须以某种方式保存在表中重新生成的JSON数据。 我的Oracle环境是Oracle数据库11 genterprise 11.2.0.3.0-64位生产版本。

你有什么想法吗?

谢谢你。

Does Oracle 11g support JSON? hdzmstufflikemanipulatingjsonobjectsinpl/SQL queries.iknoworalcle 12 chasthesupportforthesethingsbutitseems 11 gdoesnot。

mymainconcerniswhetheritispossibletohandlejsonobjectsreturnedfromrestfullapicalls (using utl _ http包) in pl/SQL代码。

thisishowicallrestfullapis :

req :=utl _ http.begin _ request (' https://xxxx/API/job/all '、' GET '、' HTTP/1.1 ' );

UTL_http.set_header(req,' Content-Type ',' application/json ' );

UTL_http.set_header(req,' apikey ','

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。