Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Listening to SQL Results
Listening to SQL Results [message #593026] Fri, 05 September 2008 10:05
Andre Ribeiro is currently offline Andre RibeiroFriend
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 &amp; 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>
Previous Topic:To clear up some confusion regarding the committer election for Enrico...
Next Topic:Listening to SQL Results
Goto Forum:
  


Current Time: Thu Dec 18 16:35:17 GMT 2014

Powered by FUDForum. Page generated in 0.01983 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software