Home » JAVA Programming » Java Basic » Question
  1. Which of the following is used to rollback a JDBC transaction?
    1. deleteTransaction()
    2. RemoveTransaction()
    3. rollforward()
    4. rollback()
    5. None of these
Correct Option: D

rollback() method is used to rollback the transaction. It will rollback all the changes made by the transaction.



Your comments will be displayed only after manual approval.