Sorry for the basic question: how to write a query with mutiple parameters?
I am reading the iBatis in Action book, browsing the distribution, the wiki,
the Javadoc and I can't find documentation or examples for the different
forms of the parameter for queryForObject or queryForList

SqlMapExecutor

java.util.List *queryForList*(java.lang.String id,
                            java.lang.Object parameterObject,
                            int skip,
                            int max)
                            throws java.sql.SQLException

Executes a mapped SQL SELECT statement that returns data to populate a
number of result objects within a certain range.

The parameter object is generally used to supply the input data for the
WHERE clause parameter(s) of the SELECT statement.

 *Parameters:* id - The name of the statement to execute. parameterObject -
The parameter object (e.g. JavaBean, Map, XML etc.). *<<< Where in the doc
or the book is that described in more details?*
How do I pass several parameters to queryForList like for example name,
beginsearchdate, beginlastdate?

I see details for the resultMap, nothing but only exmaples with one input
parameter. I started looking in the code, but it's taking too much time
now...

Thanks

Fred

Reply via email to