摘要:
新发现spring jdbc 2.5中有个BeanPropertyRowMapper,原来可以简单点,做记录和对象的映射,但前提是你的POJO的属性跟记录集的声明是一样的,有点象APACHE的beanutils:publicList<Customer>getAll(){ returngetJdbcTemplate().query("select*fromtest",newBeanPro... 阅读全文
posted @ 2010-03-18 14:13
jackyrong的世界
阅读(508)
评论(0)
推荐(0)
浙公网安备 33010602011771号