ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Mair <thomas.mai...@googlemail.com>
Subject Re: Specify more than one parameter in select statement without using deprecated parameterMap
Date Thu, 06 May 2010 07:17:56 GMT
The problem is, that I would like to use the Statement for a nested
select inside a resultMap. Should that also work with the
parameterType map?

2010/5/5 Larry Meadors <larry.meadors@gmail.com>:
> 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
>
>

---------------------------------------------------------------------
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