Discussion:
How do I query using finder method ?
(too old to reply)
p***@yahoo.com
2006-10-26 13:00:26 UTC
Permalink
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?
m***@ca.ibm.com
2006-10-27 15:57:46 UTC
Permalink
Try looking at this file, it may provide you with some of the information you need.

http://publib.boulder.ibm.com/infocenter/wchelp/v6r0m0/topic/com.ibm.commerce.developer.doc/tasks/tdecreateentitybean_6.htm
Continue reading on narkive:
Loading...