I am trying to make a batch update work in EJB. The following sample code works fine inside EJB:
But the foll0wing code causes "invalid batch command" Exception. I am not able to understand what is going wrong. The only difference here is I am creating the arraylist of objects and looping thru the array list to create my batch.
Thanks for your help
Joined: Dec 08, 2001
In fact i am getting the "java.sql.Exception: missing in or out parameter at index:: 1" But it seems I am setting all the parameter correctly.