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 are conditionals and its types?
What is namespace in java?
How java is similar to c?
What are the differences between string and stringbuffer?
Which non-unicode letter characters may be used as the first character of an identifier?
what is the difference between Object Based Language and Object Oriented Language?
What is string english?
What is the default size of load factor in hashing based collection?
What is the difference between access specifiers and access modifiers in java? 16
What are different types of references?
What is the difference between stringbuffer and stringbuilder?
Can we write multiple catch blocks under single try block?
Why does java doesnt suuport unsigned values?
What are the important features of Java 9 release?
Can an unreferenced object be referenced again?