• Welcome to the world's largest Chinese hacker forum

    Welcome to the world's largest Chinese hacker forum, our forum registration is open! You can now register for technical communication with us, this is a free and open to the world of the BBS, we founded the purpose for the study of network security, please don't release business of black/grey, or on the BBS posts, to seek help hacker if violations, we will permanently frozen your IP and account, thank you for your cooperation. Hacker attack and defense cracking or network Security

    business please click here: Creation Security  From CNHACKTEAM

Recommended Posts

Connection的createStatement()方法:

语句createStatement(intresultSetType,intresultSetConcurrency)抛出SQLException

第一个参数resultSetType:

结果集;TYPE_FORWARD_ONLY:不滚动结果集;

结果集。TYPE_SCROLL_INSENSITIVE:滚动结果集,但是结果集数据不会随着数据库而改变。

结果集。TYPE_SCROLL_SENSITIVE:滚动结果集,但是结果集数据不会随着数据库而改变。

第二个参数ResultSet并发: ResultSet。CONCUR_READ_ONLY:结果集是只读的,不能通过修改结果集对数据库产生负面影响;

结果集。CONCUR_UPDATABLE:结果集是可更新的,结果集的更新会对数据库产生负面影响。

Link to comment
Share on other sites