You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Anthony Hong <an...@gmail.com> on 2006/10/10 11:48:53 UTC

Is it possible to change sql before ibatis execute it?

suppose a have a common field in each table, say client_id.
I want each sql append client_id = 123 automaticly, 123 is pass by
invoker dynamiclly.
How could I achieve this goal?
Is there any interceptor or hook provided by ibatis that I can use?
Thanks.



-- 

Anthony Hong