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 amongst jvm spec, jvm implementation, jvm runtime ?
How arrays are stored in memory in java?
What is the difference between heap and stack memory?
What exactly is methodology?
What is namespace in java?
What are extraneous variables examples?
Is linkedlist thread safe in java?
What is method overloading and method overriding?
What is a numeric string?
What is final int?
What is string syntax?
Explain thread in java?
Discuss about garbage collector in Java.
What are the different types of constructor?
How we can declare a static variable?