Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There's no disconnect context menu item #6

Open
aadrian opened this issue Aug 10, 2018 · 2 comments
Open

There's no disconnect context menu item #6

aadrian opened this issue Aug 10, 2018 · 2 comments

Comments

@aadrian
Copy link

aadrian commented Aug 10, 2018

There's no disconnect context menu item on the connections in the Aliases Tab.

Since DBs in embedded mode (like H2) can have only one connection at a time, it's important to know if the connection is open, or not, and maybe disconnect.

Usually in most tools after the users clicks connect, the menu item(or action) is transformed in "Disconnect".

By this operation I don't mean to close the Tab that was opened :), but just the connection, in order to allow other tools to do something on the embedded DB.

@krpors
Copy link
Owner

krpors commented Sep 4, 2018

Maybe I can implement this with a button or the like on the Tab itself. There is no 1 - 1 association between an Alias and a Tab currently (and not planning to, frankly), so changing the context menu is not really an option.

By the way, what exactly is "embedded" mode? I only know of "in-memory" mode of certain databases, but that's only applicable per running JVM.

@aadrian
Copy link
Author

aadrian commented Sep 5, 2018

By the way, what exactly is "embedded" mode? I only know of "in-memory" mode of certain databases, but that's only applicable per running JVM.

DB runs in the same JVM as the application. But it's not just "in-memory", it's also persistent and consistent - so it's suitable for production. It also means that only the running applications can create connections to the DB - so the performance is very high.

E.g. for H2 Database http://h2database.com/html/cheatSheet.html, you can see that the in-memory is different from the embedded mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants