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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to