Re: Case sensitivity problem with primary keys in EOEditingContext.faultForRawRow

Mark Ritchie <[email protected]> Sun, 30 Jul 2006 20:02:42 -0400
Newsgroups gmane.comp.web.webobjects.admin,gmane.comp.web.webobjects.eof
Message-ID <[email protected]>
On 30-Jul-06, at 1:27 PM, Brendan Duddridge wrote:
> rawRowsForSQL allows you to pass in an NSArray of keys that will be  
> used to map the columns from the database to the attributes in your  
> model.

Since the original question didn't mention what version of WOF was  
being used,
it worth pointing out that the version of rawRowsForSQL which accepts  
the additional
array of keys was introduced in WOF 5.2.2.

(I was bitten by this a few months ago when a client was using WOF 5.1)

Prior to that, mapping the keys in the raw dictionary was required.

Good luck!
Mark
__
Mark Ritchie
Diamond Lake Consulting Inc.
Toronto Ontario Canada.