RE: missing property, but no error

From: Sami Mohammed (SMOHAMME..ndependenthealth.com)
Date: Fri Apr 29 2005 - 16:57:41 EDT

  • Next message: Cris Daniluk: "Re: missing property, but no error"

    Hi Cris,

    I tried your method its wroking. if i type mix upper and lower in the username its working.

    i will try below method also

    Expression e =ExpressionFactory.likeIgnoreCaseExp("username",username);

    Thanks
    sami

    CONFIDENTIALITY NOTICE. This e-mail and attachments, if any, may contain confidential information which is privileged and protected from disclosure by Federal and State
    confidentiality laws rules and regulations. This e-mail and attachments, if any, are intended for the designated addressee only. If you are not the designated addressee, you
    are hereby notified that any disclosure, copying, or distribution of this e-mail and its attachments, if any, may be unlawful and may subject you to legal consequences. If you
    have received this e-mail and attachments in error, please contact Independent Health immediately at (716) 631-3001 and delete the e-mail and its attachments from your
    computer. Thank you for your attention

    >>> cris.danilu..laraview.com 04/29/05 04:15PM >>>
    >
    > when i used
    > Expression exprQualifier = Expression.fromString("user = ' "
    > + username +" ' " ); the above expression is case sensetive.
    >
    > how to get rid of the case sensetive using Expression.
    >
    >

    Try:

    Expression.fromString("user likeIgnoreCase '" + username +"' " );

    likeIgnoreCase will still return an exact match if you don't use %

    Cris



    This archive was generated by hypermail 2.0.0 : Fri Apr 29 2005 - 16:57:59 EDT