In the previous post we have presented a generic OIC integration that can receive an SQL parameter and return JSON array result,
The solution presented there had limited number of resulting columns and due to the predefined response schema the results records had also common names; COL1, COL2, etc.
This post will show how the previous solution can be improved by using BIP lexicals and OIC binary output.
The solution that is presented in this post will remove the resulting columns limit, will provide a readable output in a more efficient manner.
The wrapper Groovy code presented before can be still used to expose the integration to VB AppUIs.
select :p_sql query_to_process from dualselect json_arrayagg(json_object(* returning clob) returning clob) as json_doc from &query_to_process)







oraext:decodeBase64ToReference (oraext:encodeBase64 ($res ) )


