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
List the interfaces which extends collection interface?
Does apple use java?
Can we modify the throws clause of the superclass method while overriding it in the subclass?
Why are the destructors for base class and derived class called in reverse order when the program exits
Is empty string in java?
How many ways can you break a singleton class in java?
What is string variable?
Can static methods access instance variables in java?
What is variable explain?
Which sorting is best in java?
What is difference between stringbuffer and string?
What is flag in python?
What is the impact of declaring a method as final?
What is size () in java?
Difference between start() and run() method of thread class?