A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
How to do deep copy of objects?
Joined: Jan 24, 2009
Jan 24, 2009 16:16:15
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?
Joined: Mar 18, 2004
Jan 25, 2009 15:39:17
Easy and straightforward code
Sometimes google is fastest way to get the answer...
<a href="http://dharapvj.wordpress.com" rel="nofollow">Blog</a>
rocket mass heater
subject: How to do deep copy of objects?
How can I instantaite 10 objects at the same time?
how to create objects in java!
I cant set any values in my Action Form for Contact object:
Cannot find bean in any scope
problem in one-to-many while saving
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013