Using the ________ method, you can run multiple SQL statements using a single Statement object, separated by semicolons.

  • execute()
  • executeBatch()
  • executeQuery()
  • executeUpdate()
The executeBatch() method in JDBC allows you to execute multiple SQL statements using a single Statement object, with statements separated by semicolons. This is particularly useful for batch processing. Other options are valid for executing single SQL statements.
Add your answer
Loading...

Leave a comment

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