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 have a two number say FROMNUMBER and TONUMBER in a formBean , Like this i have ArrayList of FormBeans , Now my requirement is to insert each individual number into one table.So i am using Batchs to add all the number.
if there are totally 1,25,000 numbers , if i use batchs only some number are getting inserted(some 12,000) numbers
but if i comment the addBatch and use executeUpdate() then each individual record getting inserted but its taking more time to insert the records,