I have researched extensively online and ejb books so this might be a really ignorant question.
I have a database table that a user could input one to four columns to search by. I have implemented a CMP Entity bean to the mysql database table.
What happens if I have a findBy with more than one parameter, but one of the parameters might not have been entered?
Do I have to have findBy functions for all of the possibilites? Or should I not use ejbql and instead write JDBC calls for this situation?
Thanks,
Mike