adspace


How to return an array from java to pl/sql?

Answer Posted / Rekha Rai

To return an array from Java to PL/SQL, you can use Java SQL Callable Statements. First, define the Java method that takes a parameter of type OracleArray and uses it as needed. Then, create an instance of the OracleArray, set its elements, and call the stored procedure with the array as a parameter.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current version of postgresql?

1188


what is bcp? When does it used? : Sql dba

1065


what are all the common sql function? : Sql dba

1141


what is dbms? : Sql dba

1070


how to start mysql server? : Sql dba

1279


Is primary key clustered index?

1028


Do we need to rebuild index after truncate?

1154


What is the best sql course?

1064


Is inner join faster than left join?

1287


Is primary key always clustered index?

1101


what are the advantages of sql ? : Sql dba

1154


what is collation? : Sql dba

1242


If a cursor is open, how can we find in a pl/sql block?

1252


how to escape special characters in sql statements? : Sql dba

1124


Can we rollback truncate?

1083