-->
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.  [ 1 post ] 
Author Message
 Post subject: Deep copying
PostPosted: Fri Mar 05, 2004 1:51 pm 
Newbie

Joined: Wed Feb 11, 2004 5:08 am
Posts: 14
I'm trying to implement clone() method for my domain objects using normal Java reflection and Hibernate's metadata API. (I remember that I've read from the forum someone from the Hibernate team saying that people have done the same thing) My goal is to implement the cloning in the base class of my domain objects in a way that I shouldn't have to care about it in the extending classes. Has anyone succeeded in doing this? It seems to get quite involved especially when cloning Collections. Any pointers to examples, articles or documentations concerning this are highly appreciated!

Sincerely,

Jouni Hartikainen


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

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.