This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.