ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Joy" <joshjd...@gmail.com>
Subject select "extends" ?
Date Wed, 21 May 2008 19:34:08 GMT
Hi,

I saw in the ibatis docs for dotnet there is a way to use extends with
select elements...
http://ibatis.apache.org/docs/dotnet/datamapper/ch03s03.html

Is there something similar for Java? I am looking to append the following
xml to lots of my sql select statements...
    <dynamic prepend="ORDER BY ">
       <isNotEmpty property="SortField">
           ORDER BY $SortField$ $SortType$
       </isNotEmpty>
   </dynamic>


Thanks,
Josh
Mime
View raw message