BeanUtils.copyProperties copy a null value of type Double
807599Apr 17 2007 — edited Mar 27 2008I'm trying to copy properties from one bean to another. In the source bean, I have the following
properties:
Double d = null;
String s = "nice";
After I do BeanUtils.copyProperties(targetBean, srcBean), my targetBean contains the following:
Double d = 0.0 instead of null
String s = "nice";
Any ideas?
cc