• Post Reply Bookmark Topic Watch Topic
  • New Topic

Processing of input field before calling CriteriaFind

 
Saraswathy Krishnamoorth
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • 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.
 
Rajesh So
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think our question does not permit this. You may discard ANY before searching in criteriaFind.
 
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!