Re: Cloning objects in WO?
Re: Cloning objects in WO?
- Subject: Re: Cloning objects in WO?
- From: Chuck Hill <email@hidden>
- Date: Thu, 25 Sep 2008 10:45:10 -0700
On Sep 25, 2008, at 10:34 AM, Greg Smith wrote:
Does anyone have a nice method for Cloning an object that has to-one
and to-many relationships. I assume I would need to clone each
object, break all it's current relationships, then re-apply them
with the clones. This seem tedious.
Has anyone come up with a better solution or a nice method for doing
this? Serialization may be a way but that may carry the GlobaID?
Any suggestions or help would be appreciated.
It takes more than a method. This is the subject of Chapter 9 in
Practical WebObjects (and you probably want a copy of that at hand
anyway...). I thought Mike was copying the implementation into
Wonder, but I took a very quick look and did not see it.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden