• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to do deep copy of objects?  RSS feed

 
Osgar ali
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am using BeanUtils.copyProperties(studentForm, student) to copy from object student into studentForm. The above function does shallow copy. Is there a Util method which does a full copy of object?
 
Vijay Dharap
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Easy and straightforward code

Sometimes google is fastest way to get the answer...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!