what does batchUpdate does?
Answers were Sorted based on User's Feedback
Answer / vishnu
Ma
Make all queries as batch and by using this command we can
execute all queries at a time
Is This Answer Correct ? | 6 Yes | 0 No |
batch update calls to database as chunk(group),
if you want to run more then one sql statement in a single
database call then you have to go for it
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / mraghuhere
This batchUpdate() is a method to Update the batch of records in the table.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / mayilvahanan
Batch update is the collection of queries run at a time
Is This Answer Correct ? | 0 Yes | 1 No |
If I use the JDBC API, do I have to use ODBC underneath?
Give an example of code used for setting up connection with a driver.
What is the return type of execute, executequery and executeupdate?
Statement, PrepareStatement and Callable all these are interfaces. Thought it is a interface how come we are creating objects and calling methods("preparestatement()") in it. In which class this method is defined. Please let me know. Thanks in advance. example: PreparedStatement pre = con.prepareStatement( "UPDATE COFFEES SET SALES = ? WHERE COF_NAME LIKE ?");
Which is better odbc or jdbc?
wa is connection pooling? how do u create connection pooling?wat is use connection pooling?
How do you determine the sensitivity of the ResultSet object?
What are the advantages of using preparedstatement in java?
how can we connect to db without using getConnection() method
What is Connection Pooling ??? How we set up a particular connection within connection pooling ????
What is drivermanager in java?
How to rollback a JDBC transaction?