單項(xiàng)選擇題

關(guān)于PreparedStatement與Statement描述錯(cuò)誤的是()。

A.一般而言,PreparedStatement比Statement執(zhí)行效率更高
B.PreparedStatement會(huì)預(yù)編譯SQL語(yǔ)句
C.Statement每次都會(huì)解析/編譯SQL,確立并優(yōu)化數(shù)據(jù)獲取路徑
D.Statement執(zhí)行掃描的結(jié)果集比PreparedStatement大

微信掃碼免費(fèi)搜題