文章目录
Spring BeanUtils的属性拷贝,注意点,从Apache切换过来存在的问题
1、Apache 的源码
/**
* <p>Copy property values from the origin bean to the destination bean
* for all cases where the property names are the same.</p>
*
* <p>For more details see <code>BeanUtilsBean</code>.</p>
*
* @param dest Destination bean whose properties are modified
* @param orig Origin bean whose properties are retrieved
*
* dest 是属性被拷贝上去的目标对象
* orig 是需要取值的资源对象
* 就是说,是把orig 的属性值拷贝到dest 上
*
* @throws IllegalAccessException if the calle