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 executeupdate in java?
Give steps to connect to the db using jdbc?
Expalin the method of calling a stored procedure from jdbc.
There is a method getColumnCount in the JDBC API. Is there a similar method to find the number of rows in a result set?
What is jdbc servlet?
What is the full form of jdbc?
what happen if we set JDBC string to NULL?
How can we move the cursor in a scrollable result set?
What is a jdbctemplate?
Discuss the procedure of retrieving warnings?
What is jdbc and its types?
What is meant by jdbc?
How can you retrieve data from the resultset using jdbc?
State the different connection methods used for creating different types of sql.
Which is faster jdbc or odbc?