You can only have one input Object. For simple parameters I use a Map
object;
As larry said, the GRD (Get R' Done) approach to do this:
Map param = new HashMap();
param.put("id", yourInt);
param.put("description", yourString);
In you sqlmap you can revere to these parameters like #id# and
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
> Please take a look at http://issues.apache.org/jira/browse/IBATIS-596
> The Problem is that the CGLib-Proxy use the type of the
> property in "myClassMap"-ResultMap instead of the result
> class of "permissionMap". The patch "lazy-loading.txt" at
> IBATIS-596 solves this problem.
Hello Stefan,