Java Mailing List Archive

http://www.java2.5341.com/

Home » user-java.ibatis »

Specify more than one parameter in select statement without using
 deprecated parameterMap

Thomas Mair

2010-05-05

Replies: Find Java Web Hosting

Author LoginPost Reply
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@(protected)
For additional commands, e-mail: user-java-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.