已知,存在 QueryRunner对象 runner , SQL语句: String sql = "select * from user"; 下面操作中,能实现查询所有记录的选项是()
A. List list=runner.query(sql, new BeanHandler(User.class));
B. List list=runner.query(sql, new BeanListHandler(User.class));
C. Object list=runner.query(sql, new BeanHandler(User.class));
D. List list=runner.query(sql, new BeanHandler(User.class));