Listening to SQL Results [message #593026] |
Fri, 05 September 2008 10:05 |
Andre Ribeiro Messages: 58 Registered: July 2009 |
Member |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello all,<br>
<br>
I want to catch all the SQL statements (insert, removes & updates)
that the user executes in a database in my RCP application (and then
save them <u>when the editor is disposed</u> to an <u>incremental</u>
XML file, to create sort of a log on what happened/was executed to a
particular table across all sessions in my RCP app).<br>
<br>
My first guess was to see how the "SQL Results View" is doing the
listening and replicate this behavior; However the listener seems to be
in an "internal" package. So, no workaround here!?<br>
<br>
Other than that ... I saw the existence of the extension points
provided by the results plugin: <b>reExecuteScript</b>, <b>resultSetOutputter</b>,
<b>resultSetViewer</b>;<br>
Do these allow me to do the job? Are there any examples on the use of
these?<br>
<br>
Thanks a lot!<br>
ARibeiro<br>
</body>
</html>
|
|
|
Powered by
FUDForum. Page generated in 0.03361 seconds