Re: fetch EOs using Oracle stored procedures
Re: fetch EOs using Oracle stored procedures
- Subject: Re: fetch EOs using Oracle stored procedures
- From: Francis Labrie <email@hidden>
- Date: Fri, 9 Feb 2007 08:19:32 -0500
Hi,
David den Boer a écrit : [...] 2. You can fetch using :
This will return an array of NSDictionary (raw rows).
If this is being used to display results, you are best to leave them as raw rows and just put a repetition over the array of rows. Bind your iterator to a dictionary and then use key value coding to get columns out of the dictionary (be sure to use column names as the key, not your fancy attribute names). When a user needs to inspect a row from this list, turn that one row back to an EO using :
You can also use EOEditingContext method to turn a raw row into an EO:
|
_______________________________________________
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