![]() |
IT-Interview.com:Open Database for IT Professionals to share interview questions, answers and knowledge. |
![]() |
IT-Interview.com:Open Database for IT Professionals to share interview questions, answers and knowledge. |
using batch updates we can send set of sql statements at once to the database server.using this technique we can save the time
xjin answered on:Jul 23, 2009 0 comments
let's say there are 100 records need to be insert. If we execute normal statemets the no of transactions will be 100 (in terms of connection making to DB). using batch updates we can add 100 rec to batch and the no of transactions will be only one in this case. This will reduce the burdon on db which is very costly in terms of resources.
cedric answered on:Jul 25, 2009 0 comments
Hi friends It is very much usefull for searching data in the database.if there is any questins on j2se jdbc servlets jsp jndi java mail api java bean plz send that to my mailid given below----bora_srinivasarao@yahoo.co.inoky bayeeee.................. keeps smiling and mailing bora_srinivasarao@yahoo.co.in
oddeye answered on:Jul 26, 2009 0 comments 
Some tasks can be done as a batch.For example u can make the amendments to the all email ids of the employees in the database as it can be observed its not a task which should be completed in a real time its a task which should be completed in a stipulated amout of time such tasks can first be gathered and then be executed as a batch.Batch execution in java can reduce the no of database hits threby reducing load on the database process reduce network traffic can provide flexibility to use the network at when at low traffic.
mystery88 answered on:Jul 28, 2009 0 comments
So can we do the batch processing using PreparedStatement class in jdbc
fyero92 answered on:Jul 30, 2009 0 comments 
It will reduce the no. of calls making from front end to backend.
usually when we want to insert 3 records to db from frontend instead of making 3 request calls to db add all the three request to batch and make only one request so that all the 3 records will be inserted.
woheni1314 answered on:Aug 1, 2009 0 comments
i ihave learnt the answer in very easy way for the question what is the need of BatchUpdates? i have lot of doubts regarding j2ee and xml will u pls slove my problems
devilishangel answered on:Aug 2, 2009 0 comments