在JDBC中使用事务,想要回滚事务的方法是()
A.Connection的commit()
B.Connection的setAutoCommit()
C.Connection的rollback()
D.Connection的close()
正确答案:C
相关答案
热门答案