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

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


您可能感興趣的試卷

你可能感興趣的試題

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

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

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

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

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

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

5.單項(xiàng)選擇題用于向數(shù)據(jù)庫(kù)發(fā)送要執(zhí)行的SQL語(yǔ)句的對(duì)象是()

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