Java Mailing List Archive

Home » user-java.ibatis »

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

Thomas Mair


Replies: Find Java Web Hosting

Author LoginPost Reply
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}


To unsubscribe, e-mail: user-java-unsubscribe@(protected)
For additional commands, e-mail: user-java-help@(protected)

©2008 - Jax Systems, LLC, U.S.A.