Of course after I wrote this I looked into the 1.2 source tree and lo and
behold there is already SessionManager ! I will plug my changes into this
and generate a patch asap.
The question remains, is such a major change in functionality warranted by
anyone else but me?
Jason
-----Original Message-----
From: Jason Height [mailto:jh...@ch...]
Sent: Friday, 17 October 2003 7:02 PM
To: squ...@li...
Subject: [Squirrel-sql-develop] My suggested changes
Hi All (esp Colin),
I use Oracle databases at work. I have had difficulty in the past with
squirrel because it doesnt allow me to have multiple SQL worksheets without
creating new connections. I find the interface cumbersome that i need to
re-login just to have another sql worksheet.
In the true spirit of open source i have started to modifying the squirrel
source code so that i can have SQL Worksheets that are independant of the
session. So far i have created a SessionManager class (and more!) that will
be able to track sessions being added, removed etc. I have a combo box on
the toolbar that tracks the current sessions as well as the current "active"
session.
I am almost at the stage where i have created a Action that can create
multiple SQL worksheets (detached from the Object tree) against the current
"active" session.
My plans are to completely seperate the "object" view from the sql
worksheets. Unfortunately without realizing i have been making my changes
against the squirrel 1.1 source ;-( (so my patch wil be delayed).
Dont take this the wrong way, but am i wasting my time by trying to do this?
It seems that i am doing things against the current concepts in squirrel so
if i supply a patch will it get applied? Is anyone else interested in this
kind of ideas? (this is pretty how TOra or Toad do things)
I haven't got this far but I plan to add additional functionality to the SQL
worksheet so that when the Oracle plug-in is used "Explain Plans" (instead
of results) can be generated. I don't know if this has already been done.
Different database plugins could add their own performance information.
Anyhow just let me know if I am heading down the right track.
Jason
--------------------------------------------------------------------------------------------------------------------
This e-mail (including attachments) is confidential information of Australian Submarine Corporation Pty Limited (ASC). It may also be legally privileged. Unauthorised use and disclosure is prohibited. ASC is not taken to have waived confidentiality or privilege if this e-mail was sent to you in error. If you have received it in error, please notify the sender promptly. While ASC takes steps to identify and eliminate viruses, it cannot confirm that this e-mail is free from them. You should scan this e-mail for viruses before it is used. The statements in this e-mail are those of the sender only, unless specifically stated to be those of ASC by someone with authority to do so.
|