对了,
你可以通过sql语句来完成这个工作,例如,select count(*) from yourtable
或者用yourResultSet.next循环来计算