• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Processing of input field before calling CriteriaFind

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If the input string is "Origin Airport='SFO',Destination Aiport='ANY'".
1) Is it okay to remove ANY at the client side and pass "Origin Airport='SFO'" alone to criteriaFind method.
2) Or should criteriaFind method be passed "Origin Airport='SFO',Destination Aiport='ANY'" and then criteriafind itself should decide how to handle ANY.
 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think our question does not permit this. You may discard ANY before searching in criteriaFind.
 
reply
    Bookmark Topic Watch Topic
  • New Topic