Capture all queries and modify them (2.3.0 release)

View: New views
2 Messages — Rating Filter:   Alert me  

Capture all queries and modify them (2.3.0 release)

by Chema-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello:

I'd like to know if is possible to capture all queries performed with
iBatis framework (2.3.0) and modify them.
It would be like a "SQL proxy".

I could to change the iBatis sources but I'd prefer to know if there's
another way using some classes implemented by iBatis

Thanks !

Regards

Re: Capture all queries and modify them (2.3.0 release)

by Larry Meadors :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SqlMapClient is an interface, you can easily create a proxy for it and
do whatever you like.

Larry


On Tue, Sep 30, 2008 at 7:14 AM, Chema <demablogia@...> wrote:

> Hello:
>
> I'd like to know if is possible to capture all queries performed with
> iBatis framework (2.3.0) and modify them.
> It would be like a "SQL proxy".
>
> I could to change the iBatis sources but I'd prefer to know if there's
> another way using some classes implemented by iBatis
>
> Thanks !
>
> Regards
>
LightInTheBox - Buy quality products at wholesale price!