單項(xiàng)選擇題提交事物的方法是()

A.Connection對(duì)象的commit()
B.Connection對(duì)象的setAutoCommit()
C.Connection對(duì)象的rollback()
D.Connection對(duì)象的close()


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題關(guān)閉自動(dòng)提交模式的方法是()

A.Connection對(duì)象的commit()
B.Connection對(duì)象的setAutoCommit()
C.Connection對(duì)象的rollback()
D.Connection對(duì)象的close()

2.單項(xiàng)選擇題回滾事務(wù)的方法是()

A.Connection對(duì)象的commit()
B.Connection對(duì)象的setAutoCommit()
C.Connection對(duì)象的rollback()
D.Connection對(duì)象的close()

4.單項(xiàng)選擇題能執(zhí)行預(yù)編譯SQL的是()

A.Connection對(duì)象
B.Statement對(duì)象
C.ResultSet對(duì)象
D.PreparedStatement對(duì)象

5.單項(xiàng)選擇題用于存儲(chǔ)數(shù)據(jù)庫(kù)查詢結(jié)果集的對(duì)象的對(duì)象是()

A.Connection對(duì)象
B.Statement對(duì)象
C.ResultSet對(duì)象
D.PreparedStatement對(duì)象