You can also grab a (somewhat) recent copy of our source frameworks from http://www.gvcsitemaker.com/chill/files/gvcframeworks_source.tar.gz There is a version of this (different name than in the book due to copyright reasons) in GVCEOFExtensions.

Chuck


On Sep 25, 2008, at 12:08 PM, David Avendasora wrote:

Until this is integrated into ERGenericRecord, the best solution is to impliment PracticalWO's EOCopyable in your project.

If I actually bought Chuck a beer for every time I swore I would because it makes copying EOs just work so easily, well, Chuck wouldn't be sober for a long, long time.

Yes, this is assuming a normal state of Chuck-soberness/ity/ocity.

Dave


On Sep 25, 2008, at 1:44 PM, David LeBer wrote:


On 25-Sep-08, at 1:34 PM, 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.

Entity cloning is a deep subject that has been touched on several times on the list. i.e. Your assumptions might be appropriate for you but may not be for someone else.

I believe that the best generic implementation of EO cloning has to be Chuck's EOCopyable stuff in his Practical WebObjects book.

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:        http://www.linkedin.com/in/davidleber
twitter:        http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




_______________________________________________
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/webobjects%40avendasora.com

This email sent to [EMAIL PROTECTED]



_______________________________________________
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/chill%40global-village.net

This email sent to [EMAIL PROTECTED]


--
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