How to execute bulk number of queries at once?
Answer Posted / 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 |
Post New Answer View All Answers
What is jdbc in dbms?
What does executeupdate return in jdbc?
What does jdbc stand for?
What is odbc. how is it related to sql cli?
Explain the locking system in jdbc & its types?
What is the return type of class.forname() method?
When do we get java.sql.SQLException: No suitable driver found?
Is java a database?
What are the methods which can verify the cursor particular position?
How does jdbc work?
What are four types of JDBC driver?
What is a jdbctemplate?
Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?
Is jdbc open source?
any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.