p***@yahoo.com
2006-10-26 13:00:26 UTC
I need to query a single column from multiple records of a table.How do I query it when I create a finder method?
Currently wat I did is,my query is based on the primary key.
Then I created a finder method in access beans which returns a collection.I instantiate that in the controller command and set it in the jsp using jstl tags.Here I get a collection of instances in the controller command.This can be avoided if the query is proper.
I see some options like ejbfinder,whereclausefinder,etc;I couldnt make out what each means?
Currently wat I did is,my query is based on the primary key.
Then I created a finder method in access beans which returns a collection.I instantiate that in the controller command and set it in the jsp using jstl tags.Here I get a collection of instances in the controller command.This can be avoided if the query is proper.
I see some options like ejbfinder,whereclausefinder,etc;I couldnt make out what each means?