Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are batch updates. in jdbc

Answer Posted / gajendra

Batch updates is a facility given by the JDBC to the
application developers to submit a set of SQL update
statements as batch to the database.

st.addBatch("Update statement1");
st.addBatch("Update statement2");
st.addBatch("Update statement3");

int updated[]=st.executeBatch();// This methods throws
BatchUpdateException and SQLException

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the interfaces which extends collection interface?

943


Does apple use java?

946


Can we modify the throws clause of the superclass method while overriding it in the subclass?

1033


Why are the destructors for base class and derived class called in reverse order when the program exits

2204


Is empty string in java?

1177


How many ways can you break a singleton class in java?

983


What is string variable?

1051


Can static methods access instance variables in java?

1084


What is variable explain?

1002


Which sorting is best in java?

1001


What is difference between stringbuffer and string?

960


What is flag in python?

1031


What is the impact of declaring a method as final?

1019


What is size () in java?

1093


Difference between start() and run() method of thread class?

1071