ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nereida <nereidahox...@gmail.com>
Subject query using 2 parameter classes
Date Fri, 15 Dec 2006 08:51:50 GMT
Hi all,

Is it possible to make a query using two parameter classes like this:

<select id="queryId" resultMap="result" parameterClass="class1, class2" >
select  tab1.col1, tab2.col2
from    tab1, tab2
where  tab1.col1 = #class1.col1:DECIMAL#
and     tab2.col2 = #class2.col2:DECIMAL#
</select>


Thanks.

Mime
View raw message