读书人

Unsupported method: ResultSet.first

发布时间: 2012-02-06 15:52:45 作者: rapoo

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

读书人网 >SQL Server

热点推荐