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.

Mallikarjuna Reddy
  • 1,212
  • 2
  • 20
  • 33

2 Answers2

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

asifsid88
  • 4,631
  • 20
  • 30
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

Mallikarjuna Reddy
  • 1,212
  • 2
  • 20
  • 33