Re: EOKeyValueQualifier not escaping single quote character
Re: EOKeyValueQualifier not escaping single quote character
- Subject: Re: EOKeyValueQualifier not escaping single quote character
- From: "Ricardo J. Parada" <email@hidden>
- Date: Fri, 16 Jan 2009 12:25:05 -0500
My fault... I discovered the problem was in some very low level stuff
I had that given a qualifier it creates a SQL expression that
aggregates some fields in the entity. The low level stuff was
replacing bindings inline and that's where the problem occurred. I
added code to escape the single quote character at that level and now
it works fine.
Sorry!!
On Jan 15, 2009, at 7:58 PM, Lachlan Deck wrote:
On 16/01/2009, at 11:25 AM, Ricardo J. Parada wrote:
The following qualifier:
EOQualifier q = new EOKeyValueQualifier(key,
QualifierOperatorEqual, "Joe's");
when used to fetch result's in an oracle error when fetching from
the database:
ORA-00907: missing right parenthesis
Wasn't EOF supposed to escape this thing?
Have you tried this?
new EOKeyValueQualifier(key, EOQualifier.QualifierOperatorLike,
string);
with regards,
--
Lachlan Deck
_______________________________________________
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