ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From XU Qiang <q...@cofinoga.fr>
Subject Parameterized mapped-statement in iBatis
Date Fri, 24 Jun 2005 08:01:16 GMT
Hi, 
In Rick Reumann's site http://reumann.net/struts/ibatisLesson1/step5.do
<http://reumann.net/struts/ibatisLesson1/step5.do>  , he describes a common
use case for a query of list  (value , label)  from a set of different
tables. The sample map uses a list of very similar mapped-statement to
populate a result-map. The reuse here is only the result-map. Is there
someway to not list the queries but just parameterize mapped-statement with
table name as parameter ? I am new in using ibatis, so any suggestion and
pointer is valuable.
Thank you 
Qiang 


Mime
View raw message