I have a record type and a procedure (which recieves as IN parameter a table of records) defined in a PL/SQL package
How can this procedure be called within Java code?
Is it better to avoid this type of IN parameters? maybe a REF CURSOR?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The usual whay is to use a temporary table.
0 Set autocommit off if nessesary (It’s off by default)
1 Fill a temporary table whith some values.
2 Call your procedure. Read a values from temporary table. (No records in IN parameters)
3 commit