is it possible to create a hook to catch all sql commands, but before being executed?
is it possible to create a hook to catch all sql commands, but before being executed?
i would like to know if it's possible to create a hook in TZConnection to capture all SQL commands, but before being executed. just point me in the right direction, and ill figure out how to implement it on my end.
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: is it possible to create a hook to catch all sql commands, but before being executed?
Hello,
it depends on what you want to do. If you want to log these statements, you need to use TZSQLMonitor. Otherwise you would have to implement some interface in Zeos that does these logging things. I would have to look for this interface though.
Best regards,
Jan
it depends on what you want to do. If you want to log these statements, you need to use TZSQLMonitor. Otherwise you would have to implement some interface in Zeos that does these logging things. I would have to look for this interface though.
Best regards,
Jan