在JDBC中使用事务,想要回滚事务的方法是()


在JDBC中使用事务,想要回滚事务的方法是()

A.Connection的commit()

B.Connection的setAutoCommit()

C.Connection的rollback()

D.Connection的close()

正确答案:C


Tag:事务 方法 时间:2023-10-29 22:06:10