hop hop - 1 month ago 6
Java Question

BeanUtils.cloneBean() deep copy

If all the objects within the bean implement

Serializable
interface, will
BeanUtils.cloneBean()
do a deep copy?

Answer Source

No, cloneBean() does shallow copy only. If you want deep copy. You may refer this link which has technique to do deep copy.