I have 10 field as a search option All field are optional,means i can have value for a single field or for any no of fields or it may be a default search.How can i implement this? Can i use if else condition in my code or can i retrieve the result using a single query ? what will be the best option?
posted 9 years ago
Hibernate Criteria Queries is one of the best options to go, when you have multiple search fields.