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 <[email protected]>: > 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 > <[email protected]> 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: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
