ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: Query Regarding Sub Query - to pass more than one paramete.
Date Thu, 25 Jan 2007 17:30:21 GMT
There's an example on page 38 of the iBATIS developer's guide.

Jeff Butler



On 1/25/07, Shankhavara, Kashyap <kashyap.Shankhavara@cibc.ca> wrote:
>
>  Hi,
>
>
>
> Topic: I want to pass more than one parameter to the sub query.
>
>
>
> Like,
>
> *<resultMap id="get-product-result" class="com.ibatis.example.Product">*
>
> *<result property="id" column="PRD_ID"/>*
>
> *<result property="description" column="PRD_DESCRIPTION"/>*
>
> *<result property="category" column="**PRD_CAT_ID**"
> select="getCategory"/>*
>
> *</resultMap>*
>
> * *
>
> In the *getCategory* query, I need to pass 2 parameters. Is it possible?
>
> Could you please reply me ASAP (with example, if possible).
>
>
>
> Thanks in anticipation.
>
>
>
> Regards,
>
> Kashyap
>
>
>

Mime
View raw message