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

What is the difference between normal report & matrix report?

1106


What is a local, member and a class variable?

1033


What are the important features of Java 10 release?

983


Can we use different return types for methods when overridden?

991


What is map java?

974


How to obtain a performance profile of java program

1030


Difference between nested and inner classes ?

1127


when to use ArrayList and when to use HashMap in webApplication.

4697


Write a java program to generate fibonacci series ?

1070


What is byte code and why is it important to java’s use for internet programming?

1129


What is procedure overloading?

2306


Differentiate between nested and inner class in java.

998


What are the wrapped, classes?

1051


What are the different types of sorting in java?

976


Why runnable interface is used in java?

1131