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 270130 - Default connection service
Summary: Default connection service
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: Dev
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-20 10:55 UTC by Xenos
Modified: 2017-03-20 10:55 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xenos 2017-03-20 10:55:16 UTC
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)