I have a requirement, for say an Employee class which contains a field as joining date. So what I\'m doing is
Query query = new Query(); query.addCrit