I need to pass additonal parameters rather than using one pair of property/value of parameters in the exising findByProperty() method. I am using the findByProperty method in the org.apache.commons.scaffold.sql.AccessBase. The findByProperty method takes "only one" pair of property/value as it parameters. As such, visitors of the web site queries all articles in the database by providing 'author' as the property and supply the name of the author (xyz) as value.
I have this field "category" in my database. I want to search and get all the articles written by author(property) with name xyz (value) within; say, the HISTORY category. The value of the category will be supplied by the application developer (NOT BY THE VISITOR of the web site via selecting from a drop-down list and fill out the value in the text field). I need help in handling this kind of situation. Thanks in advance.
subject: findByProperty() in the scaffold.sql.AccessBase - Need Additional Parameters