The ________ method of Connection interface sets the changes made since the previous commit/rollback permanent.

  • commit()
  • persistChanges()
  • saveChanges()
  • updateChanges()
The commit() method of the Connection interface in JDBC is used to make the changes made since the previous commit or rollback permanent. It effectively saves the changes to the database. Other options are not valid methods for this purpose.
Add your answer
Loading...

Leave a comment

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