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...


How to execute bulk number of queries at once?

Answers were Sorted based on User's Feedback



How to execute bulk number of queries at once?..

Answer / kalyan

we can update multiple statements using batch as follows

statemenent st = getconnection().getStatement();
st.addBatch(sql stat1);
st.addBatch(sql stat2) ;

....

st.executeBatch();

Is This Answer Correct ?    7 Yes 0 No

How to execute bulk number of queries at once?..

Answer / guest

through batch update.

Is This Answer Correct ?    5 Yes 0 No

How to execute bulk number of queries at once?..

Answer / salil kumar

To execute bulk number of queries at once genally we are
using store procedure i.e. CallableStatement. Through store
procedure we can execute bulk number of queries at once to
the differnt-differnt table also.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JDBC Interview Questions

What is Apache DBCP API?

0 Answers  


How to connect multiple database in jdbc?

0 Answers  


What are the components of jdbc?

0 Answers  


What are the advantages of using preparedstatement in java?

0 Answers  


What is executequery in java?

0 Answers  


Explain creation of statement object with connection method create method with help of an example.

0 Answers  


What are the 4 types of jdbc drivers?

0 Answers  


How can you make a connection?

0 Answers  


how we can remove hard code in java?

1 Answers   Satyam,


Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?

0 Answers  


What is an advantage of using the jdbc connection pool?

0 Answers  


What is jdbc driver in java?

0 Answers  


Categories