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
What is the difference between normal report & matrix report?
What is a local, member and a class variable?
What are the important features of Java 10 release?
Can we use different return types for methods when overridden?
What is map java?
How to obtain a performance profile of java program
Difference between nested and inner classes ?
when to use ArrayList and when to use HashMap in webApplication.
Write a java program to generate fibonacci series ?
What is byte code and why is it important to java’s use for internet programming?
What is procedure overloading?
Differentiate between nested and inner class in java.
What are the wrapped, classes?
What are the different types of sorting in java?
Why runnable interface is used in java?