1.select count(*) from tablename ; 用hibernate查询时,返回给实体类的类型是 BigInteger类型,实体类接受该字段的属性要设置为BigInteger类型。1.select count(*) from tablename ; 用hibernate查
1.select count(*) from tablename ; 用hibernate查询时,返回给实体类的类型是 BigInteger类型,实体类接受该字段的属性要设置为BigInteger类型。1.select count(*) from tablename ; 用hibernate查