#121 Connect process takes over Eclipse until completed

open
nobody
None
5
2007-11-29
2007-11-29
Lester Ward
No

It appears that Quantum takes full control of Eclipse when making a connection. This is usually not noticeable, but when connecting to a server with a lot of network lag (or, some issue that only fails by virtue of a timeout), Eclipse cannot be used while the connection is opening.

Ideally, the connection would spawn a thread.

Testing this is difficult. One way would be to try connecting to a server that isn't there, or behind a firewall that just eats the packets.

Discussion

  • Julen Parra
    Julen Parra
    2007-11-30

    Logged In: YES
    user_id=180901
    Originator: NO

    You are right. That should be done. I even made some test some time ago, but never came to fully implement it, perhaps also due to lack of interest from the users. Now that you have given me some proof of interest from the user's part :o), I will put it higher in the list of to-do things.

    Thanks for the feedback.

     
  • Alan Treadway
    Alan Treadway
    2008-07-16

    Logged In: YES
    user_id=40816
    Originator: NO

    +1 for async database interactions - when performing a long running query it would be nice to be able to continue to use Eclipse whilst waiting for the query to finish. At the moment I have to resort to using the MySQL command line client to do this in these cases.

     
  • Julen Parra
    Julen Parra
    2008-07-16

    Logged In: YES
    user_id=180901
    Originator: NO

    Connection is (as of yet) not thread-able. But queries are, or should be. Just choose the very first Quantum preference (in Window->Preferences->Quantum DB->Run Queries in separate threads?) It was set to false by default because some people, with some databases, suffered strange problems when launching more than one query at the same time. We are always interested in feedback about that feature, so if you use it, comments would be appreciated.