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