• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
help for fetch with LIKE required
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help for fetch with LIKE required


  • Subject: help for fetch with LIKE required
  • From: Wolfram Stebel <email@hidden>
  • Date: Wed, 29 Jun 2005 19:48:50 +0200

Hi all,

when i use a dictionary for a fetch with something like this:
        aDict.takeValueForKey ( "%" + searchValue + "%", "searchValue" );

and serching with
        list = EOUtilities.objectsWithFetchSpecificationAndBindings ( ec,
"News", "searchNews", aDict );

with mysql 4.0.21 it creates an invalid statement like:
    select * from news where news_title like "|%xyz|" escape '|'

It does not produce an exception but an empty result set.

Interactive: select * from news where news_title like "%xyz" gives a result
set.

In the mysql documentation i have, this is listed as a known bug.

I did not find a "bug fixed" message at mysql-website.
I need urgently a way to select like this LIKE :-)
Any pointers or workarounds?

TIA

Wolfram


 _______________________________________________
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

  • Follow-Ups:
    • Re: help for fetch with LIKE required
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Framework Question
  • Next by Date: Re: help for fetch with LIKE required
  • Previous by thread: WO 5.3 Deployment no longer platformed locked?
  • Next by thread: Re: help for fetch with LIKE required
  • Index(es):
    • Date
    • Thread