ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shankhavara, Kashyap" <kashyap.Shankhav...@cibc.ca>
Subject Query Regarding Sub Query - to pass more than one paramete.
Date Thu, 25 Jan 2007 17:23:03 GMT
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