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 |
Does sql allow null values ? Can we use it within where clause ?
password, is stored in as plain text. What can I do to protect my passwords?
What is an advantage of using the jdbc connection pool?
What is createstatement method in java?
What are cursor attributes?
What are the methods which can verify the cursor particular position?
Explain in detail about JDBC and its general features?
what are design patterns?
Why jdbc is used in java?
What is the meaning of connection?
Hi my doubt is that preparedStatement is a interface means which has no implemenation.plz go thru the code below String sql = "SELECT * FROM movies WHERE year_made = ?"; prest = con.prepareStatement(sql); prest.setInt(1,2002); ResultSet rs1 = prest.executeQuery(); Now setInt and executeQuery how it works since it is interface it does not have implementation how it works, how executeQuery returns result from database as executequery method has no implementation even in Statement interface.
4 Answers Cybermate, Hexaware,
When does the result for an sql statement return null?