报错: Cannot create Account: Account Query: select * from account Parameters: [] 原因:List<Account> accounts = runner.query(connection, sql11, new BeanListHandler<Account>(Account.class)); Accoun是为接受数据库返回查询记录对象而创建类,出错原因为该类中没有空参构造器
报错: Cannot create Account: Account Query: select * from account Parameters: []
最新推荐文章于 2024-09-01 13:09:09 发布