praveenkrishnan81
Programmer
Hi,
In our project, we are trying to do a bulk insertion of records into the DB2 system.
We have decided to write a stored proc to accomplish the same. Is there any way to pass on a list of values to do the insert.
A better explanation of the scenario would be the following example.
Let us assume i have a emp table in DB2 with structure as follows.
{
Emp_id,
Emp_name,
Emp_dept_id
}
In Java, i have list of Employee java objects. This needs to be inserted into te DB2 table
In our project, we are trying to do a bulk insertion of records into the DB2 system.
We have decided to write a stored proc to accomplish the same. Is there any way to pass on a list of values to do the insert.
A better explanation of the scenario would be the following example.
Let us assume i have a emp table in DB2 with structure as follows.
{
Emp_id,
Emp_name,
Emp_dept_id
}
In Java, i have list of Employee java objects. This needs to be inserted into te DB2 table