Entity[] entitys = jdbcTemplate.query(sql,
new BeanPropertyRowMapper<>(Entity.class)).toArray(new Entity[0]);
SQL到对象数组
最新推荐文章于 2024-07-29 16:20:30 发布
Entity[] entitys = jdbcTemplate.query(sql,
new BeanPropertyRowMapper<>(Entity.class)).toArray(new Entity[0]);