ScalarHandler: 将单个值封装、 例如select count(*),求内容的条数;KeyedHandler:将多条记录封装到一个Map集合的Map集合中。而且外面的Map集合是能够指定的

ScalarHandler:将单个值封装、例如select count(*),求内容的条数spa @Testget public void demo8()throws SQLException{io QueryRunner queryRunner =new QueryRunner(JDBCUtils2.getDataSource());select Object obj =queryRunner.
相关文章
相关标签/搜索