I have successfully implemented connection with oracle using ojdbc6.jar
.
Now I have curiosity that how can I insert Arraylist
containing objects of specific class into oracle database by procedural call?
For example I have MyEmployee
class and I have made Arraylist
of Employee Class as follows :
List<MyEmployee> array = new ArrayList<MyEmployee>();
array.add(requestDetails1);
array.add(requestDetails2);
I want that I pass this whole array in a manner while calling Callable
Statement so that each object goes as a row in table.