How to return an array from java to pl/sql?
Answer / 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 |
what are the advantages of using stored procedures? : Sql dba
Is sql between inclusive?
What's the difference between inner join and left join?
Which function is used to return remainder in a division operator in sql?
Is time a data type in sql?
is it necessary to write group by and order by clause together
what is a database lock ? : Sql dba
what are null values? : Sql dba
What are sql objects?
What is the difference between rollback and rollback to statements?
How to write a single statement that concatenates the words ?hello? And ?world? And assign it in a variable named greeting?
From an Employee table, how will you display the record which has a maximum salary?
29 Answers Cap Gemini, Exilant, Synechron,
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)