-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Copying an object graph: Implementations?
PostPosted: Mon Nov 01, 2004 12:03 pm 
Regular
Regular

Joined: Thu Oct 07, 2004 4:45 pm
Posts: 92
Hi,

I'm looking for a way to make a deep copy of an object graph, including child collections. The result should be a graph of new (transient) objects, ready to be persisted.

I've looked through the forums and ran across several people trying to do the same thing, and the answer that comes back is always to write your own algorithm on top of the metadata API. What I'm wondering is: Has someone already done this who is willing to share the code? Seems like this is such a common need that I'd hate to reinvent the wheel if someone has a decent implementation.

Thanks!


Top
 Profile  
 
 Post subject: Did you get any resolution to this
PostPosted: Mon Dec 06, 2004 2:46 pm 
Regular
Regular

Joined: Thu Sep 09, 2004 6:46 pm
Posts: 96
Did you get any resolution to this?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.