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.
It's very useful to execute a SQL file from the editor with a simple Maj+F6 (or whatever shortcut we set), but we must select a connection first before doing so. Hence, it would be great to set a connection as the default one. Setting this on a per-project basis would be excellent (so, saved in the project's configuration, we have the name of the defaut DB service to use, and if no service is selected when executing a SQL file, NB would pick the project's default one, connect if not already, and run the SQL)