How to call Oracle procedure have Userdefined "Type" IN parameters using jdbc in java -


i have created below user defined type in oracle. using type in procedure in parameter. how call procedure using jdbc callablestatement.

create or replace type "varchar_tab"
table of varchar2(500);

my procedure is:

procedure delete_album_metadata ( p_catalog_tab in varchar_tab );

please me.

you need use setplsqlindextable binder method defined in oracle.jdbc.oraclepreparedstatement.

here pointer javadoc:

https://docs.oracle.com/database/121/jajdb/oracle/jdbc/oraclepreparedstatement.html#setplsqlindextable_int__java_lang_object__int__int__int__int_


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -