ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koka Kiknadze" <226...@gmail.com>
Subject Re: conditionally add a table to the from clause just once if either or both of two parameters is not empty
Date Thu, 22 Feb 2007 14:19:54 GMT
<isNotEmpty property="supplierCompanyId">
        , suppliers_for_parts sp
</isNotEmpty>

<isEmpty property="supplierCompanyId">
    <isNotEmpty property="supplierRef">
         , suppliers_for_parts sp
     </isNotEmpty>
</isEmpty>

another ugly way I guess.

Mime
View raw message