ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry Meadors <larry.mead...@gmail.com>
Subject Re: Specify more than one parameter in select statement without using deprecated parameterMap
Date Wed, 05 May 2010 11:15:45 GMT
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


Mime
View raw message