单项选择题

以下哪个是JDBC中事务控制的方式?()

A.conn.setAutoCommit(false)
B.new QueryRunner()
C.update(conn,sql ,params)
D.DbUtils.commitAndClose(conn)