This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi, All, I have a question about CriteriaFind() method. What is the correct behavior if the user does not either a destination or origination? Is it going to treat it as "any" is entered for the blank criteria?? What if nothing is entered at all? My implementation reports no route is available if neither is entered. But if one criteria is entered, it will treat the empty criteria as "any" and use the other criteria to search. Is this the correct interpretation?? Thank you! Christy
I really believe that this is a design choice for you to decide. If you where using the application and you wanted to search for flights, and you left them blank, what would you expect. I expected to see all flights, but that is just me, you might think differently here and that is 100% fine. Mark