I need to implement a query form giving the user the opportunity to build his own criterias, based on selecting a property, an operator (=, <>, like, not like, in, not in ...) and a value, combining those with AND , OR logical operators. I wanted to store there criterias in a separate entity in my db.
Has anyone had this kind of a requirement before? Which path should I go: ICriteria or HQL? Is there another option?
I am very thankfull for any ideas, suggestions, pointers...
THX a mil. Darko