Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I apply MatchMode.ANYWHERE to a selected property in criteria search?  RSS feed

david zhang
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have the following code:

User user = new User();
Example example = Example.create(user);

My understanding is that MatchMode.ANYWHERE applies to both Name and Email properties. How can I make MatchMode.ANYWHERE apply to only one of them, not both?

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!