Groups
Sign in
Groups
beanlib
Conversations
About
Send feedback
Help
Code to deep clone
8 views
Skip to first unread message
snakedilled
unread,
Sep 20, 2010, 3:43:20 AM
9/20/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to beanlib
Is it enough code to deep clone the object
HibernateBeanReplicator r = new
Hibernate3BeanReplicator().initSetterMethodCollector(new
PrivateSetterMethodCollector());
AuthenticationService authServ = ...
AuthenticationService toBean = r.copy(authServ);
Now when I will get toBean. Will it be ready to be saved database i.e.
via session.save(toBean) ?
Reply all
Reply to author
Forward
0 new messages