Sort of - you could do it with a statement using dynamic sql, but you will not be able to use the selectKey element.

IMO this is a bad idea - do the logic in your DAO class instead of in a mapped statement.

Larry


On 6 Sep 2005 21:29:00 -0000, sreenivas <[EMAIL PROTECTED]> wrote:

Hi,

I have a requirement where I need to do conditional SQL execution(insert/update).

I would like to know whether or not this is possible in iBatis without writing any stored procedure.

Thanks and regards,
Sreenivas




Reply via email to