select count(id) from table 返回值

select count(id) from table这条SQL语句做用你们都明白什么做用了,原本一直认为返回值为一整形结果,可是试试胜于雄辩。 刚刚在写一个jsp程序,数据库操做使用了dbutils包,使用了select count(id) from table 这条语句计算table表中的记录数,结果使用Integer接收,运行测试,报错了java java.lang.ClassCastExc
相关文章
相关标签/搜索