> From: "Riley, Cameron" <[EMAIL PROTECTED]>
> 
> cri.add(TbCommitteememberPeer.ROLE,
>       (Object)(new String("normalmember")),
>       Criteria.NOT_EQUAL);

You should never go

    new String("xxx")

The following works fine

    (Object) "xxx"


Cheers,

Scott
-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au



--
To unsubscribe, e-mail:   <mailto:turbine-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:turbine-user-help@;jakarta.apache.org>

Reply via email to