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 thin client in oracle?
What driver should I use for scalable Oracle JDBC applications?
Can I get a null resultset?
Does jpa use jdbc?
Does jdbctemplate use prepared statements?
Why is jdbc needed?
What is the most common example type 1 driver?
What are the advantages of using preparedstatement over statement?
What is jdbc and odbc in java?
How java can be connected to a database?
Explain about multiple implementations and drive manager?
What are the advantages of using preparedstatement in java?
java based application for hospital management
Result set’s index starts with 0 or 1?
What is jdbc vs odbc?