Re: Get fetched raw row into an editing context
Re: Get fetched raw row into an editing context
- Subject: Re: Get fetched raw row into an editing context
- From: Chuck Hill <email@hidden>
- Date: Wed, 25 Apr 2007 09:48:16 -0700
On Apr 25, 2007, at 8:54 AM, Dana Kashubeck wrote:
Maybe there is an obvious answer, but if there is I'm missing it.
I am fetching raw rows from the database at the adaptor level. I
have no problem converting those raw rows into EOs, but I cannot
for the life of me figure out how to get those EOs into an editing
context without performing another fetch. Is there a way to get an
editing context to register an EO that represents an existing row
in the database fetched via the adaptor channel?
There probably is a way to register the snapshot yourself, but it
won't be overly easy. EOF has no way of knowing if a raw row has all
the needed data so it always goes back to the database when a raw row
is converted into an EO. I found this surprising too, but that is
the way it is.
Chuck
--
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