springjdbc使用BeanPropertyRowMapper报Mapped class was not specified
修改如下:public AppConfiguration getConfig() {List confList = jdbc.query(SQL, new Object[]{},new BeanPropertyRowMapper(AppConfiguration.class));if(null != confList && !confList .isEmpty){
return confList.get(0);
}return null;}
赞1
踩0