You need escape the character. Normal is the Backslash the escape sign.

EOQualifier qualifier = M_User.NAME.contains("\\*"); <-- 2 Backslashes for java

Stefan

Am 09.11.10 15:34, schrieb ISHIMOTO Ken:
Hi everyone,

I am fighting with a Qualifier and my Question is "Is there any way for query all Data with an "*" in."

DataSample :

Mike
Chuck
Dav*id
Ken

Like code bellow but the "*" is a Wildcard and won't work.

EOQualifier qualifier = M_User.NAME.contains("*");

I would love to find any Record with "*".


Is there any trick or command to get all Objects with an "*" ?


Thank you

--------------------------------------------------------
K's ROOM      (ISHIMOTO Ken)
--------------------------------------------------------
[E-Mail] <k...@ksroom.com <mailto:k...@ksroom.com>>
[iChat:] <ibase_...@mac.com <mailto:ibase_...@mac.com>>
[HP] http://www.ksroom.com/
_____________________________________________________________________
This e-mail has not been scanned for viruses because it was written on an Mac,
and there are NO Viruses on an Apple Computer.
For further information visit http://www.apple.com <http://www.apple.com/>



  _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/stefan.klein%40buero-sde.de

This email sent to stefan.kl...@buero-sde.de
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to