Pass a bean or Map with those attributes, and you should be good to go.
On Wed, May 5, 2010 at 2:17 AM, Thomas Mair
<thomas.mair86@googlemail.com> wrote:
> Hi,
> i am just starting to play with iBatis 3 and can not figure out how to
> declare more than one parameter in a select statement in XML without
> using the parameterMap attribute. I figured how it works with
> annotations, but I would like to do everything in XML.
> My select statement looks like this:
>
> SELECT delta, start_value AS startValue, timestamp FROM Effect WHERE
> action_type = #{typeId} AND action_id = #{id}
>
> Thanks
> Thomas
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org
|