[Solved]:Delete and edit connection from within DB Navigator

Feature requests and their debate

[Solved]:Delete and edit connection from within DB Navigator

Postby stefaneidelloth » Fri Feb 27, 2015 12:40 pm

I would like to be able to right click on a connection in the Database Navigator view and
A. Delete the connection
B. Edit the connection attributes (like the Database file for a SQlite connection)

The context menu currently provides the option Properties. However, I can not fine the connection settings there.
The only way I currently know to achieve A. and B. is to manually edit the xml file .dbeaver-data-sources.xml in the project folder.

I use Eclipse Luna and installed DBeaver from the update site http://dbeaver.jkiss.org/update/3.1.5/
Last edited by stefaneidelloth on Mon Mar 16, 2015 6:17 pm, edited 1 time in total.
stefaneidelloth
 
Posts: 12
Joined: Fri Feb 27, 2015 12:32 pm

Re: Delete and edit connection from within Database Navigato

Postby Serge » Fri Feb 27, 2015 9:39 pm

Hi,

That's an odd request. This features was implemented in the very first version of DBeaver a few years ago. See screenshot.
If you don't have these commands in context menu - please post a screenshot of your context menu and also check Eclipse error log for any related errors.

Also - by default connection editor opens when you double-click on connection. Delete can be performed with "Delete" key. Editing xml file is a really tricky way :)
Attachments
connection-menu.png
connection-menu.png (17.15 KiB) Viewed 45029 times
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: Delete and edit connection from within Database Navigato

Postby stefaneidelloth » Mon Mar 02, 2015 9:11 am

* The context menu that is shown for my MySQL or SQlite database conections is shown in the attachment.
* Double clicking on a connection opens the Script editor and does not show the connection properties.
* The deletion with delete key does not work for me.
* I have some messages in the ErrorLog view but I guess that they are not related to DBeaver.
* My operation system is Win7.
dbeaver_context_meu.png
dbeaver_context_meu.png (9.31 KiB) Viewed 45027 times

error_log.png
error_log.png (52.87 KiB) Viewed 45027 times


* I also attach the context menu for databases. I would expect a delete option there (also for the table context menu), too.
database_context.png
database_context.png (10.64 KiB) Viewed 45027 times
stefaneidelloth
 
Posts: 12
Joined: Fri Feb 27, 2015 12:32 pm

Re: Delete and edit connection from within Database Navigato

Postby Serge » Mon Mar 02, 2015 4:46 pm

It is definitely a bug in DBeaver.
Most likely it appears only in plugin version but I still can't reproduce it. I'll try a few more tricks with plugin installation..

Could you check standalone version to make sure that edit/delete commands works there in your environment?
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: Delete and edit connection from within Database Navigato

Postby Serge » Mon Mar 02, 2015 4:58 pm

Also could you say exact version of your Eclipse (from About box)
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: Delete and edit connection from within Database Navigato

Postby stefaneidelloth » Mon Mar 02, 2015 6:15 pm

The options edit/delete work in the standalone version.

I just updated my Eclipse to version

Luna Service Release 2 (4.4.2)
Build id: 20150219-0600

and the issue is still present.
stefaneidelloth
 
Posts: 12
Joined: Fri Feb 27, 2015 12:32 pm

Re: Delete and edit connection from within Database Navigato

Postby Serge » Mon Mar 02, 2015 7:50 pm

What Eclipse package do you have (for Java developers, Java EE, RCP, etc)?
I assume that some 3rd party extension could bring these problems.

Also in what perspective to you work (In DBeaver perspective or in some else)?
Serge
 
Posts: 1526
Joined: Sat Feb 26, 2011 8:24 pm
Location: SPb

Re: Delete and edit connection from within Database Navigato

Postby stefaneidelloth » Mon Mar 16, 2015 6:16 pm

Hi, today I had some time to have a look on this issue again. The origin of the problem seems
to be related to the fact that I start Eclipse with a wrapper called EclipsePortable (sorry, I forgot about that).

If I use a fresh Eclipse for Java Developers or start the wrapped Eclipse.exe directly, the context menu works just fine.
The context menu even works in the wrapped version if I use the DBeaver Perspective.

Therefore, you can close this topic since it is related to a very special case which can
be "solved" by using the DBeaver Perspective. Thank you.
stefaneidelloth
 
Posts: 12
Joined: Fri Feb 27, 2015 12:32 pm

Re: [Solved]:Delete and edit connection from within DB Navig

Postby frankmusolf » Thu Jun 25, 2015 7:26 am

'Edit Connection' Point in context menu is not visible in debug perspective. in java perspective 'Edit Connection' is available.
frankmusolf
 
Posts: 34
Joined: Thu Jul 04, 2013 6:07 am


Return to Feature Requests



Who is online

Users browsing this forum: No registered users and 8 guests