spring

BeansUtil copyProperties 사용, date exception 회피

기계새 2015. 12. 28. 14:23

try {
BeanUtilsBean.getInstance().getConvertUtils().register(false, false, 0);
BeanUtils.copyProperties(target, source);
} catch (Exception e) {
log.error("Create exception. cause : ", e);
}