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

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

another ugly way I guess.

View raw message