0

I want to save the multiple rows data in DB using oracle stored procedure from JDBC.

Aware of XML data approach.

Can we send the list or map from java to database and insert in data base from stored procedure.

2 Answers 2

0

There are something like "table value parameter" which can help you storing your multiple rows in DB

Refer this. This might give you some help

Sign up to request clarification or add additional context in comments.

2 Comments

required how to achieve this in jdbc?
0

In Java, We can use the STRUCT Class for Oracle Objects.

For more details, check the below link

https://docs.oracle.com/cd/B10501_01/java.920/a96654/oraoot.htm

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.