I think your asking about Hibernate Criteria, there is no concept in GWT
Criteria.
In hibernate we can't create new instance for Criteria Interface.
you can use this code for not equals in hibernate criteria concept,

Criteria crit = session.createCriteria(Event.class);
 crit.add( Expression.ne( "name", "noName" ) );
 crit.setMaxResults(1);
 List results = crit.list();
* *

On Sat, Jul 17, 2010 at 4:00 PM, gopal bhalala <gopalbhal...@gmail.com>wrote:

> I m using this for add equals to condition in Criteria
>
> Criteria c =new Criteria();
> c.addCriteria("status", "true");
>
> How to add not equals in criteria in GWT?
>
>
>
> Best Regards & Thanking you,
> Gopal Dhanjibhai Bhalala
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to