This is coming in a future version. At the moment, if your where
clause is static you could use the properties file approach. You could
setup a property in a your sqlmap properties file   that contains the
WHERE clause. Then you could reference it in your sqlmaps using the
${my.long.where.clause} notation.

Brandon


On Mon, 20 Dec 2004 14:20:35 +0100, Markus Joschko
<[EMAIL PROTECTED]> wrote:
> Hi list,
> I'm searching for a possibility to use a part of a sql statement more than 
> once.
> E.g. I have a very large WHERE clause which always contains the same
> elements. For maintencance reasons it would be very helpful to have
> this elements seperated in another snippet.
> Is this possible with ibatis?
> 
> Thanks,
>  Markus
>

Reply via email to