I am trying to develop a search page that allows users to input their search criteria into a form and after submitting this form the application will list all records that match the search criteria.
I currently have a form that captures the users input and places it into a bean. The bean is the same bean that i would use for gettting data from the table (i.e. it has getters and setters for each column). Where I need help is in writing a generic class that will build up the search criteria using addLike for each property of the bean that is not null without individually calling each of the getters and testing whether it is null or not before adding its value onto my criteria using addlike. Could anyone please point me in the right direction on how to acheive this? thanks in advance --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
