springframework.beans.BeanUtils is very useful to copy objects, and I use the \"ignoreProperties\" option frequently. However, sometimes I want to copy only spe
springframework.beans.BeanUtils
Check this out: BeanPropertyCopyUtil.
Example:
copyProperties(user, systemUser, "first firstName", "last lastName");
You'll also need Apache Commons BeanUtils.