Which method is used to batch multiple SQL statements before sending them to the database?

  • execute()
  • executeBatch()
  • executeQuery()
  • executeUpdate()
The executeBatch() method is used to batch multiple SQL statements together before sending them to the database, which can improve performance by reducing the number of round-trips.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *