This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 192847 - Database editor fails to automatically connect to db on run.
Summary: Database editor fails to automatically connect to db on run.
Status: RESOLVED DUPLICATE of bug 192599
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-03 13:29 UTC by paolosca
Modified: 2010-12-03 16:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description paolosca 2010-12-03 13:29:40 UTC
I noticed a change in behavior of the database editor. Until a few builds ago I used to be able to select any database connection from the database list before running the sql script. If the db wasn't connected the sql editor would automatically connect.

Now it's only possible to run sql scripts on already opened database connections.

I think it was more comfortable in the old way, especially for people working with lots of db connections at once.

If you plan to revert to the old way, in my opinion, it would be even better to set the connection state back to the way it was after executing the code. I mean, if a db is not connected, the run button should connect, execute and then disconnect. If it was already connected it should just leave it connected.
Comment 1 Jiri Rechtacek 2010-12-03 16:32:34 UTC
I'm guessing it's dup of issue 192599.

*** This bug has been marked as a duplicate of bug 192599 ***