首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > SQL Server >

Unsupported method: ResultSet.first有关问题,小弟我已设Statement stmt

2012-02-06 
Unsupported method: ResultSet.first问题,我已设Statement stmtStatement stmtconn.createStatement(Res

Unsupported method: ResultSet.first问题,我已设Statement stmt
Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE );

[解决办法]
If a driver implements the cursor movement methods in the JDBC 2.0 core API, its result sets can be scrollable. A scrollable result set's cursor can move both forward and backward as well as to a particular row. The following methods move the cursor backward, to the first row, to the last row, to a particular row number

热点排行